http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72456
Revision: 72456
Author: simetrical
Date: 2010-09-05 20:43:00 +0000 (Sun, 05 Sep 2010)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/phase3/languages/Language.php
Modified: trunk/phase3/languages/Language.php
===================================================================
--- trunk/phase3/languages/Language.php 2010-09-05 19:25:47 UTC (rev 72455)
+++ trunk/phase3/languages/Language.php 2010-09-05 20:43:00 UTC (rev 72456)
@@ -2967,18 +2967,6 @@
}
/**
- * 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
* carefully with convertToSortkey(), or else the sorted list might jump
@@ -2997,7 +2985,6 @@
* * [[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
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs