32 private static $instance;
41 if ( !self::$instance ) {
42 $categoryCollation = MediaWikiServices::getInstance()->getMainConfig()
43 ->get( MainConfigNames::CategoryCollation );
46 return self::$instance;
56 public static function factory( $collationName ) {
58 return MediaWikiServices::getInstance()->getCollationFactory()->makeCollation( $collationName );
84 foreach ( $strings as $key =>
$s ) {
wfDeprecated( $function, $version=false, $component=false, $callerOffset=2)
Logs a warning that a deprecated feature was used.
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...
getSortKeys( $strings)
Get multiple sort keys.
static factory( $collationName)
A class containing constants representing the names of configuration variables.
foreach( $mmfl['setupFiles'] as $fileName) if($queue) if(empty( $mmfl['quiet'])) $s