r65361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65360‎ | r65361 | r65362 >
Date:09:35, 21 April 2010
Author:tstarling
Status:deferred
Tags:
Comment:
MFT r64180: fixed sorting in Special:Allmessages
Modified paths:
  • /branches/REL1_16/phase3/RELEASE-NOTES (modified) (history)
  • /branches/REL1_16/phase3/includes/specials (modified) (history)
  • /branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php (modified) (history)

Diff [purge]

Index: branches/REL1_16/phase3/includes/specials/SpecialAllmessages.php
@@ -175,9 +175,9 @@
176176 wfProfileIn( __METHOD__ );
177177 $messageNames = Language::getLocalisationCache()->getSubitemList( 'en', 'messages' );
178178 if( $descending ){
179 - krsort( $messageNames );
 179+ rsort( $messageNames );
180180 } else {
181 - ksort( $messageNames );
 181+ asort( $messageNames );
182182 }
183183
184184 // Normalise message names so they look like page titles
Property changes on: branches/REL1_16/phase3/includes/specials
___________________________________________________________________
Name: svn:mergeinfo
185185 - /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
186186 + /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
Index: branches/REL1_16/phase3/RELEASE-NOTES
@@ -44,6 +44,7 @@
4545
4646 * Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of
4747 invalid usernames.
 48+* Fixed sorting in [[Special:Allmessages]]
4849
4950 === Changes since 1.16 beta 1 ===
5051

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64180Fix sorting in Allmessages.happy-melon20:24, 25 March 2010

Status & tagging log