From 980ed5d2b15b9f6b3fb36f55b247a50d351d8f63 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 5 Sep 2010 20:43:00 +0000 Subject: [PATCH] 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. --- languages/Language.php | 13 ------------- 1 file changed, 13 deletions(-) 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 -- 2.20.1