Jackmcbarn has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/218116

Change subject: Don't check namespace in SpecialWantedtemplates
......................................................................

Don't check namespace in SpecialWantedtemplates

Templates are templates, even if they're in a different namespace.

Change-Id: I2aa82255eac62dfe4ee7a3c2b7359bd2d188316b
---
M includes/specials/SpecialWantedtemplates.php
1 file changed, 1 insertion(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/16/218116/1

diff --git a/includes/specials/SpecialWantedtemplates.php 
b/includes/specials/SpecialWantedtemplates.php
index a4b9dd8..9e26f0f 100644
--- a/includes/specials/SpecialWantedtemplates.php
+++ b/includes/specials/SpecialWantedtemplates.php
@@ -44,10 +44,7 @@
                                'title' => 'tl_title',
                                'value' => 'COUNT(*)'
                        ),
-                       'conds' => array(
-                               'page_title IS NULL',
-                               'tl_namespace' => NS_TEMPLATE
-                       ),
+                       'conds' => array( 'page_title IS NULL' ),
                        'options' => array( 'GROUP BY' => array( 
'tl_namespace', 'tl_title' ) ),
                        'join_conds' => array( 'page' => array( 'LEFT JOIN',
                                array( 'page_namespace = tl_namespace',

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2aa82255eac62dfe4ee7a3c2b7359bd2d188316b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jackmcbarn <jackmcb...@gmail.com>

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

Reply via email to