39 if ( !self::$instance ) {
53 public static function factory( $collationName ) {
54 return MediaWikiServices::getInstance()->getCollationFactory()->makeCollation( $collationName );
$wgCategoryCollation
Specify how category names should be sorted, when listed on a category page.
getSortKey( $string)
Given a string, convert it to a (hopefully short) key that can be used for efficient sorting.
getFirstLetter( $string)
Given a string, return the logical "first letter" to be used for grouping on category pages and so on...
static factory( $collationName)