Index: trunk/phase3/includes/SpecialLonelypages.php |
— | — | @@ -3,11 +3,15 @@ |
4 | 4 | require_once( "QueryPage.php" ); |
5 | 5 | |
6 | 6 | class LonelyPagesPage extends PageQueryPage { |
7 | | - |
| 7 | + |
8 | 8 | function getName() { |
9 | 9 | return "Lonelypages"; |
10 | 10 | } |
11 | | - |
| 11 | + |
| 12 | + function sortDescending() { |
| 13 | + return false; |
| 14 | + } |
| 15 | + |
12 | 16 | function isExpensive() { |
13 | 17 | return true; |
14 | 18 | } |
— | — | @@ -24,9 +28,9 @@ |
25 | 29 | |
26 | 30 | function wfSpecialLonelypages() { |
27 | 31 | list( $limit, $offset ) = wfCheckLimits(); |
28 | | - |
| 32 | + |
29 | 33 | $lpp = new LonelyPagesPage(); |
30 | | - |
| 34 | + |
31 | 35 | return $lpp->doQuery( $offset, $limit ); |
32 | 36 | } |
33 | 37 | |