From: Bartosz DziewoƄski Date: Fri, 25 Nov 2016 16:21:08 +0000 (+0100) Subject: SpecialFewestrevisions: Allow pages with only 1 revision to be shown X-Git-Tag: 1.31.0-rc.0~4694^2 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=be7be45e4cb5f82a7c76c5bf49429c84a5063893;p=lhc%2Fweb%2Fwiklou.git SpecialFewestrevisions: Allow pages with only 1 revision to be shown Change-Id: I44630c62ac521f0a701d1aec6a41a81d1a1532f0 --- diff --git a/includes/specials/SpecialFewestrevisions.php b/includes/specials/SpecialFewestrevisions.php index b86a95e8aa..64a6ba92cd 100644 --- a/includes/specials/SpecialFewestrevisions.php +++ b/includes/specials/SpecialFewestrevisions.php @@ -53,12 +53,6 @@ class FewestrevisionsPage extends QueryPage { 'page_namespace' => MWNamespace::getContentNamespaces(), 'page_id = rev_page' ], 'options' => [ - 'HAVING' => 'COUNT(*) > 1', - // ^^^ This was probably here to weed out redirects. - // Since we mark them as such now, it might be - // useful to remove this. People _do_ create pages - // and never revise them, they aren't necessarily - // redirects. 'GROUP BY' => [ 'page_namespace', 'page_title', 'page_is_redirect' ] ] ];