r87286 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87285‎ | r87286 | r87287 >
Date:19:56, 2 May 2011
Author:diebuche
Status:ok
Tags:
Comment:
Switching arrows in Special:FileList to match the usual behaviour in MW. Bug 18962
Modified paths:
  • /trunk/phase3/includes/Pager.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Pager.php
@@ -829,13 +829,13 @@
830830 # Prepare a link that goes in the other sort order
831831 if ( $this->mDefaultDirection ) {
832832 # Descending
833 - $image = 'Arr_u.png';
 833+ $image = 'Arr_d.png';
834834 $query['asc'] = '1';
835835 $query['desc'] = '';
836836 $alt = htmlspecialchars( wfMsg( 'descending_abbrev' ) );
837837 } else {
838838 # Ascending
839 - $image = 'Arr_d.png';
 839+ $image = 'Arr_u.png';
840840 $query['asc'] = '';
841841 $query['desc'] = '1';
842842 $alt = htmlspecialchars( wfMsg( 'ascending_abbrev' ) );

Status & tagging log