r59028 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59027‎ | r59028 | r59029 >
Date:21:18, 13 November 2009
Author:aaron
Status:ok
Tags:
Comment:
Use reverse chronological order for all item lists
Modified paths:
  • /trunk/phase3/includes/specials/SpecialRevisiondelete.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialRevisiondelete.php
@@ -1097,7 +1097,8 @@
10981098 'rev_id' => $ids,
10991099 'rev_page = page_id'
11001100 ),
1101 - __METHOD__
 1101+ __METHOD__,
 1102+ array( 'ORDER BY' => 'rev_id DESC' )
11021103 );
11031104 }
11041105
@@ -1275,7 +1276,8 @@
12761277 'ar_title' => $this->title->getDBkey(),
12771278 'ar_timestamp' => $timestamps
12781279 ),
1279 - __METHOD__
 1280+ __METHOD__,
 1281+ array( 'ORDER BY' => 'ar_timestamp DESC' )
12801282 );
12811283 }
12821284
@@ -1371,7 +1373,8 @@
13721374 'oi_name' => $this->title->getDBkey(),
13731375 'oi_archive_name' => $archiveNames
13741376 ),
1375 - __METHOD__
 1377+ __METHOD__,
 1378+ array( 'ORDER BY' => 'oi_timestamp DESC' )
13761379 );
13771380 }
13781381
@@ -1589,7 +1592,8 @@
15901593 'fa_name' => $this->title->getDBkey(),
15911594 'fa_id' => $ids
15921595 ),
1593 - __METHOD__
 1596+ __METHOD__,
 1597+ array( 'ORDER BY' => 'fa_id DESC' )
15941598 );
15951599 }
15961600
@@ -1664,7 +1668,8 @@
16651669 $ids = array_map( 'intval', $this->ids );
16661670 return $db->select( 'logging', '*',
16671671 array( 'log_id' => $ids ),
1668 - __METHOD__
 1672+ __METHOD__,
 1673+ array( 'ORDER BY' => 'log_id DESC' )
16691674 );
16701675 }
16711676

Status & tagging log