http://www.mediawiki.org/wiki/Special:Code/MediaWiki/65361
Revision: 65361
Author: tstarling
Date: 2010-04-21 09:35:36 +0000 (Wed, 21 Apr 2010)
Log Message:
-----------
MFT r64180: fixed sorting in Special:Allmessages
Modified Paths:
--------------
branches/REL1_16/phase3/RELEASE-NOTES
branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php
Property Changed:
----------------
branches/REL1_16/phase3/includes/specials/
Modified: branches/REL1_16/phase3/RELEASE-NOTES
===================================================================
--- branches/REL1_16/phase3/RELEASE-NOTES 2010-04-21 09:30:38 UTC (rev
65360)
+++ branches/REL1_16/phase3/RELEASE-NOTES 2010-04-21 09:35:36 UTC (rev
65361)
@@ -44,6 +44,7 @@
* Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
invalid usernames.
+* Fixed sorting in [[Special:Allmessages]]
=== Changes since 1.16 beta 1 ===
Property changes on: branches/REL1_16/phase3/includes/specials
___________________________________________________________________
Modified: svn:mergeinfo
- /branches/REL1_15/phase3/includes/specials:51646
/branches/sqlite/includes/specials:58211-58321
/branches/wmf-deployment/includes/specials:53381,56967
/trunk/phase3/includes/specials:63045,63047,63490,63549,63764,63897-63901,64837,64860,64862
+ /branches/REL1_15/phase3/includes/specials:51646
/branches/sqlite/includes/specials:58211-58321
/branches/wmf-deployment/includes/specials:53381,56967
/trunk/phase3/includes/specials:63045,63047,63490,63549,63764,63897-63901,64180,64837,64860,64862
Modified: branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php
===================================================================
--- branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php
2010-04-21 09:30:38 UTC (rev 65360)
+++ branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php
2010-04-21 09:35:36 UTC (rev 65361)
@@ -175,9 +175,9 @@
wfProfileIn( __METHOD__ );
$messageNames =
Language::getLocalisationCache()->getSubitemList( 'en', 'messages' );
if( $descending ){
- krsort( $messageNames );
+ rsort( $messageNames );
} else {
- ksort( $messageNames );
+ asort( $messageNames );
}
// Normalise message names so they look like page titles
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs