return strtoupper( $string );
}
- /**
- * Does it make sense for lists to be split up into sections based on their
- * first letter? Logogram-based scripts probably want to return false.
- *
- * TODO: Use this in CategoryPage.php.
- *
- * @return boolean
- */
- public function usesFirstLettersInLists() {
- return true;
- }
-
/**
* Given a string, return the logical "first letter" to be used for
* grouping on category pages and so on. This has to be coordinated
* * [[Ape]]
*
* etc., assuming for the sake of argument that $wgCapitalLinks is false.
- * Obviously, this is ignored if usesFirstLettersInLists() is false.
*
* @param string $string UTF-8 string
* @return string UTF-8 string corresponding to the first letter of input