dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ee9830
)
Don't check namespace in SpecialWantedtemplates
author
Jackmcbarn
<jackmcbarn@gmail.com>
Sun, 14 Jun 2015 03:20:40 +0000
(23:20 -0400)
committer
Jackmcbarn
<jackmcbarn@gmail.com>
Sun, 14 Jun 2015 03:20:40 +0000
(23:20 -0400)
Templates are templates, even if they're in a different namespace.
Change-Id: I2aa82255eac62dfe4ee7a3c2b7359bd2d188316b
includes/specials/SpecialWantedtemplates.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialWantedtemplates.php
b/includes/specials/SpecialWantedtemplates.php
index
a4b9dd8
..
9e26f0f
100644
(file)
--- 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',