Index: trunk/phase3/includes/Title.php |
— | — | @@ -3316,8 +3316,8 @@ |
3317 | 3317 | 'rev_page = ' . intval( $this->getArticleId() ) . |
3318 | 3318 | ' AND rev_id > ' . intval( $old ) . |
3319 | 3319 | ' AND rev_id < ' . intval( $new ), |
3320 | | - __METHOD__, |
3321 | | - array( 'USE INDEX' => 'PRIMARY' ) ); |
| 3320 | + __METHOD__ |
| 3321 | + ); |
3322 | 3322 | } |
3323 | 3323 | |
3324 | 3324 | /** |
— | — | @@ -3336,7 +3336,7 @@ |
3337 | 3337 | /** |
3338 | 3338 | * Callback for usort() to do title sorts by (namespace, title) |
3339 | 3339 | */ |
3340 | | - static function compare( $a, $b ) { |
| 3340 | + public static function compare( $a, $b ) { |
3341 | 3341 | if( $a->getNamespace() == $b->getNamespace() ) { |
3342 | 3342 | return strcmp( $a->getText(), $b->getText() ); |
3343 | 3343 | } else { |