aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Collation.php
Commit message (Collapse)AuthorAgeFilesLines
* Added missing GPLv2 headers in some places.Alexandre Emsenhuber2012-05-211-0/+20
| | | | | | Also made file/class documentation more consistent. Change-Id: Ibe7815124d6915792dcbb150d01df21d9b22b0b0
* Fixing some of the "@return true" or "@return false", need to be "@return ↵Sam Reed2012-02-091-1/+1
| | | | | | | | | bool" and then the metadata can say true if foo, false if bar Other documentation improvements Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/111073
* (bug 30722) Add an identity collation that sorts things based on what the ↵Brian Wolff2011-09-111-0/+26
| | | | | | | | | unicode code point is (aka pre-1.17 behaviour). I'm tagging this 1.18 because the original bug was for iswiktionary wanting it, so it'd be nice to get it in 1.18. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/96765
* (Follow-up r90759 per CR) Use a hook to register new Collations instead of ↵Brian Wolff2011-07-051-10/+9
| | | | | | | just taking the collation name as a class name Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/91436
* Let $wgCategoryCollation take a class name as a value so that extensionsBrian Wolff2011-06-251-1/+12
| | | | | | | | | | | | | can define new Collation classes. (I plan to commit such an extension shortly) Wasn't sure if it would be better to make an array mapping collation names => class names instead. However, that seemed to be unneededly complicated so I went with letting that variable take class names. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/90759
* Remove @static from all over the place. That's what the static keyword is ↵Chad Horohoe2011-04-211-2/+0
| | | | | | | for, this being PHP5 and all Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86582
* More function documentationSam Reed2011-04-151-4/+14
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/86123
* Update comments to take into account r80443 and r80614 changes, per CR.Platonides2011-01-281-1/+4
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/81171
* * Introduced a non-dummy collation for $wgCategoryCollation, namely UCA with ↵Tim Starling2011-01-171-0/+304
default tables. * Added a maintenance script which generates a list of first letters. Unified Han are omitted for performance, and because they shouldn't be used as headings anyway. A future collation specific to Chinese would provide the KangXi radicals as "first letters". * Provided a precomputed list of first letters. Used Unicode 6.0.0 data and ICU 4.2. * Moved collation functionality from Language to a Collation class hierarchy with factory function. Removed the recently-added methods from Language and updated all callers. * Changed Title::getCategorySortkey() to separate its parts with a line break instead of a null character. All collations supported by the intl extension ignore the null character, i.e. "ab" == "a\0b". It would have required a lot of hacking to make it work. * Fixed the uppercase collation to handle non-ASCII characters, redundantly with r80436. I don't think it's necessary to change the collation name as was done there, so I reverted that in the course of my conflict merge. A --force option to updateCollation.php might be nice though. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/80443