Manual:IcuCollation.php
MediaWiki file: IcuCollation.php | |
---|---|
Location: | includes/collation/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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
- 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
- Manual:$wgCategoryCollation - controls what type of collation is used for categories.