From: Jackmcbarn Date: Sun, 14 Jun 2015 03:20:40 +0000 (-0400) Subject: Don't check namespace in SpecialWantedtemplates X-Git-Tag: 1.31.0-rc.0~8642^2~1 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=64717f414cdd66a27630b92539cde5456d622141;hp=7ee983040896846c45e58ce12265bb4427525f3f Don't check namespace in SpecialWantedtemplates Templates are templates, even if they're in a different namespace. Change-Id: I2aa82255eac62dfe4ee7a3c2b7359bd2d188316b --- 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',