X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedtemplates.php;h=f5539c1812ea0a92df9be9cc557cfb55ae86437d;hb=27126ae0c162a66fe9f967f38ff96c840aee81ee;hp=2b4364bc46e230cb4d8dba3d58e63c6fb4ec2c2c;hpb=bf99725d8db8e842be3d920be43726425e26631e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWantedtemplates.php b/includes/specials/SpecialWantedtemplates.php index 2b4364bc46..f5539c1812 100644 --- a/includes/specials/SpecialWantedtemplates.php +++ b/includes/specials/SpecialWantedtemplates.php @@ -40,9 +40,9 @@ class WantedTemplatesPage extends WantedQueryPage { function getQueryInfo() { return array ( 'tables' => array ( 'templatelinks', 'page' ), - 'fields' => array ( 'tl_namespace AS namespace', - 'tl_title AS title', - 'COUNT(*) AS value' ), + 'fields' => array ( 'namespace' => 'tl_namespace', + 'title' => 'tl_title', + 'value' => 'COUNT(*)' ), 'conds' => array ( 'page_title IS NULL', 'tl_namespace' => NS_TEMPLATE ), 'options' => array ( @@ -52,4 +52,8 @@ class WantedTemplatesPage extends WantedQueryPage { 'page_title = tl_title' ) ) ) ); } + + protected function getGroupName() { + return 'maintenance'; + } }