Billinghurst has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/245854

Change subject: Revert "Don't check namespace in SpecialWantedtemplates"
......................................................................

Revert "Don't check namespace in SpecialWantedtemplates"

This reverts commit 64717f414cdd66a27630b92539cde5456d622141.

This change now finds all transcluded pages, rather than just templates. If 
WantedTemplates is to also include Module ns, then please make that change 
rather than a change that impacts the Wikisources which transclude the Page: 
namespace.

Request was made in Phabricator:T114200

Change-Id: Ie88ecde37cbf27750df41ded8d4f79fd58bd58e6
---
M includes/specials/SpecialWantedtemplates.php
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/54/245854/1

diff --git a/includes/specials/SpecialWantedtemplates.php 
b/includes/specials/SpecialWantedtemplates.php
index 9e26f0f..a4b9dd8 100644
--- a/includes/specials/SpecialWantedtemplates.php
+++ b/includes/specials/SpecialWantedtemplates.php
@@ -44,7 +44,10 @@
                                'title' => 'tl_title',
                                'value' => 'COUNT(*)'
                        ),
-                       'conds' => array( 'page_title IS NULL' ),
+                       'conds' => array(
+                               'page_title IS NULL',
+                               'tl_namespace' => NS_TEMPLATE
+                       ),
                        'options' => array( 'GROUP BY' => array( 
'tl_namespace', 'tl_title' ) ),
                        'join_conds' => array( 'page' => array( 'LEFT JOIN',
                                array( 'page_namespace = tl_namespace',

-- 
To view, visit https://gerrit.wikimedia.org/r/245854
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie88ecde37cbf27750df41ded8d4f79fd58bd58e6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Billinghurst <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to