Merge "Revert "Do not show empty categories with list=allcategories""
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 21 Jul 2012 09:07:36 +0000 (09:07 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 21 Jul 2012 09:07:36 +0000 (09:07 +0000)
includes/api/ApiQueryAllCategories.php

index e2d02a0..09f6edb 100644 (file)
@@ -57,7 +57,6 @@ class ApiQueryAllCategories extends ApiQueryGeneratorBase {
 
                $this->addTables( 'category' );
                $this->addFields( 'cat_title' );
-               $this->addWhere( 'cat_pages > 0' );
 
                if ( !is_null( $params['continue'] ) ) {
                        $cont = explode( '|', $params['continue'] );