jenkins-bot has submitted this change and it was merged.

Change subject: SpecialFewestrevisions: Allow pages with only 1 revision to be 
shown
......................................................................


SpecialFewestrevisions: Allow pages with only 1 revision to be shown

Change-Id: I44630c62ac521f0a701d1aec6a41a81d1a1532f0
---
M includes/specials/SpecialFewestrevisions.php
1 file changed, 0 insertions(+), 6 deletions(-)

Approvals:
  Jforrester: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/specials/SpecialFewestrevisions.php 
b/includes/specials/SpecialFewestrevisions.php
index b86a95e..64a6ba9 100644
--- a/includes/specials/SpecialFewestrevisions.php
+++ b/includes/specials/SpecialFewestrevisions.php
@@ -53,12 +53,6 @@
                                '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' ]
                        ]
                ];

-- 
To view, visit https://gerrit.wikimedia.org/r/323543
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I44630c62ac521f0a701d1aec6a41a81d1a1532f0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz DziewoƄski <matma....@gmail.com>
Gerrit-Reviewer: Chad <ch...@wikimedia.org>
Gerrit-Reviewer: Florianschmidtwelzow <florian.schmidt.stargatewis...@gmail.com>
Gerrit-Reviewer: Jforrester <jforres...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to