From: Bartosz DziewoƄski Date: Wed, 30 Nov 2016 16:41:17 +0000 (+0100) Subject: CategoryPager: Allow categories with no members to be shown X-Git-Tag: 1.31.0-rc.0~4716^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=2368d8347fa52e9d4e18616bc5eea157b695a8a8;p=lhc%2Fweb%2Fwiklou.git CategoryPager: Allow categories with no members to be shown This affects the listing on Special:Categories. Bug: T12915 Change-Id: I6265d20b8afd199832de6dd3b2e126a1c45d4b11 --- diff --git a/includes/specials/pagers/CategoryPager.php b/includes/specials/pagers/CategoryPager.php index b78fed89d5..345577d6ea 100644 --- a/includes/specials/pagers/CategoryPager.php +++ b/includes/specials/pagers/CategoryPager.php @@ -52,7 +52,6 @@ class CategoryPager extends AlphabeticPager { return [ 'tables' => [ 'category' ], 'fields' => [ 'cat_title', 'cat_pages' ], - 'conds' => [ 'cat_pages > 0' ], 'options' => [ 'USE INDEX' => 'cat_title' ], ]; }