From 64717f414cdd66a27630b92539cde5456d622141 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sat, 13 Jun 2015 23:20:40 -0400 Subject: [PATCH] Don't check namespace in SpecialWantedtemplates Templates are templates, even if they're in a different namespace. Change-Id: I2aa82255eac62dfe4ee7a3c2b7359bd2d188316b --- includes/specials/SpecialWantedtemplates.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/includes/specials/SpecialWantedtemplates.php b/includes/specials/SpecialWantedtemplates.php index a4b9dd84fa..9e26f0fa05 100644 --- a/includes/specials/SpecialWantedtemplates.php +++ b/includes/specials/SpecialWantedtemplates.php @@ -44,10 +44,7 @@ class WantedTemplatesPage extends WantedQueryPage { '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', -- 2.20.1