From: Rob Church Date: Sat, 13 May 2006 16:45:12 +0000 (+0000) Subject: Ignore the user and user talk namespaces on Special:Wantedpages X-Git-Tag: 1.31.0-rc.0~57157 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=4c6c510f8d9fcfc42ce6f70f11c83c5db58501e7;p=lhc%2Fweb%2Fwiklou.git Ignore the user and user talk namespaces on Special:Wantedpages --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 496db75e65..7feeecf5ca 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -252,6 +252,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN $wgRateLimitsExcludedGroups * (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages * (bug 5931) Update for Polish language (pl) +* Ignore the user and user talk namespaces on Special:Wantedpages == Compatibility == diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 92958e8d1c..8402bd5ea5 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -49,6 +49,7 @@ class WantedPagesPage extends QueryPage { LEFT JOIN $page AS pg2 ON pl_from = pg2.page_id WHERE pg1.page_namespace IS NULL + AND pl_namespace NOT IN ( 2, 3 ) AND pg2.page_namespace != 8 GROUP BY pl_namespace, pl_title HAVING COUNT(*) > $count";