48 if ( $string[0] ==
"\0" ) {
49 $string = substr( $string, 1 );
51 return $this->contentLanguage->firstChar( $string );
Collation class that's essentially a no-op.
Language $contentLanguage
getFirstLetter( $string)
Given a string, return the logical "first letter" to be used for grouping on category pages and so on...
getSortKey( $string)
Given a string, convert it to a (hopefully short) key that can be used for efficient sorting.
__construct(Language $contentLanguage)
Internationalisation code See https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation for more...