From: Aryeh Gregor Date: Sun, 5 Sep 2010 20:43:00 +0000 (+0000) Subject: Get rid of Language::usesFirstLettersInLists() X-Git-Tag: 1.31.0-rc.0~35128 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=980ed5d2b15b9f6b3fb36f55b247a50d351d8f63;p=lhc%2Fweb%2Fwiklou.git Get rid of Language::usesFirstLettersInLists() Added by me in r69810, but never used. It's not clear to me if it's needed, but if so, it can be re-added later. --- diff --git a/languages/Language.php b/languages/Language.php index 877d64fc87..c8a7533cbe 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -2966,18 +2966,6 @@ class Language { 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 @@ -2997,7 +2985,6 @@ class Language { * * [[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