Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -223,14 +223,14 @@ |
224 | 224 | array( 'page', 'categorylinks', 'category' ), |
225 | 225 | array( 'page_title', 'page_namespace', 'page_len', 'page_is_redirect', 'cl_sortkey', |
226 | 226 | 'cat_id', 'cat_title', 'cat_subcats', 'cat_pages', 'cat_files' ), |
227 | | - array( $pageCondition, |
228 | | - 'cl_to' => $this->title->getDBkey() ), |
| 227 | + array( $pageCondition, 'cl_to' => $this->title->getDBkey() ), |
229 | 228 | __METHOD__, |
230 | 229 | array( 'ORDER BY' => $this->flip ? 'cl_sortkey DESC' : 'cl_sortkey', |
231 | | - 'USE INDEX' => array( 'categorylinks' => 'cl_sortkey' ), |
232 | | - 'LIMIT' => $this->limit + 1 ), |
| 230 | + 'USE INDEX' => array( 'categorylinks' => 'cl_sortkey' ), |
| 231 | + 'LIMIT' => $this->limit + 1 ), |
233 | 232 | array( 'categorylinks' => array( 'INNER JOIN', 'cl_from = page_id' ), |
234 | | - 'category' => array( 'LEFT JOIN', 'cat_title = page_title AND page_namespace = ' . NS_CATEGORY ) ) ); |
| 233 | + 'category' => array( 'LEFT JOIN', 'cat_title = page_title AND page_namespace = ' . NS_CATEGORY ) ) |
| 234 | + ); |
235 | 235 | |
236 | 236 | $count = 0; |
237 | 237 | $this->nextPage = null; |