force an index here :)
authorDomas Mituzas <midom@users.mediawiki.org>
Fri, 30 May 2008 17:52:26 +0000 (17:52 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Fri, 30 May 2008 17:52:26 +0000 (17:52 +0000)
includes/SpecialCategories.php

index 4c3d19c..d5b79a9 100644 (file)
@@ -29,7 +29,8 @@ class CategoryPager extends AlphabeticPager {
                return array(
                        'tables' => array( 'category' ),
                        'fields' => array( 'cat_title','cat_pages' ),
-                       'conds' => array( 'cat_pages > 0' )
+                       'conds' => array( 'cat_pages > 0' ), 
+                       'options' => array( 'USE INDEX' => 'cat_title' ),
                );
        }