X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedtemplates.php;h=9e26f0fa055f3a43774148f4e7f386fdefd9266a;hp=550e2e35df140a827233fd86b592a984d8e304a3;hb=59ebff658ce912c1b0e7ef8d8f9bfec5a4e17b39;hpb=3e326854f24c7f0bcc9a858523f2189799f53cbd diff --git a/includes/specials/SpecialWantedtemplates.php b/includes/specials/SpecialWantedtemplates.php index 550e2e35df..9e26f0fa05 100644 --- a/includes/specials/SpecialWantedtemplates.php +++ b/includes/specials/SpecialWantedtemplates.php @@ -32,7 +32,6 @@ * @ingroup SpecialPage */ class WantedTemplatesPage extends WantedQueryPage { - function __construct( $name = 'Wantedtemplates' ) { parent::__construct( $name ); } @@ -45,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',