Switching arrows in Special:FileList to match the usual behaviour in MW. Bug 18962
authorLeo Koppelkamm <diebuche@users.mediawiki.org>
Mon, 2 May 2011 19:56:28 +0000 (19:56 +0000)
committerLeo Koppelkamm <diebuche@users.mediawiki.org>
Mon, 2 May 2011 19:56:28 +0000 (19:56 +0000)
includes/Pager.php

index 9028f0e..8eb6c7c 100644 (file)
@@ -829,13 +829,13 @@ abstract class TablePager extends IndexPager {
                                        # Prepare a link that goes in the other sort order
                                        if ( $this->mDefaultDirection ) {
                                                # Descending
-                                               $image = 'Arr_u.png';
+                                               $image = 'Arr_d.png';
                                                $query['asc'] = '1';
                                                $query['desc'] = '';
                                                $alt = htmlspecialchars( wfMsg( 'descending_abbrev' ) );
                                        } else {
                                                # Ascending
-                                               $image = 'Arr_d.png';
+                                               $image = 'Arr_u.png';
                                                $query['asc'] = '';
                                                $query['desc'] = '1';
                                                $alt = htmlspecialchars( wfMsg( 'ascending_abbrev' ) );