Manual:IcuCollation.php
Appearance
MediaWiki file: IcuCollation.php | |
---|---|
Location: | includes/collation/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | IcuCollation |
Class used to perform database row sorting according to the appropriate Unicode collation algorithm from the ICU library. It extends the Collation class.
Public methods
[edit]- getSortKey() - overrides abstract method from Collation.
- getFirstLetter() - overrides abstract method from Collation.
- isCjk() - tests if a code point is a CJK (Chinese, Japanese, Korean) character.
- getUnicodeVersionForICU() - returns the version of Unicode appropriate for the version of the ICU library that is currently in use, or false when it can't be determined.
See also
[edit]- Manual:$wgCategoryCollation - controls what type of collation is used for categories.