http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95052

Revision: 95052
Author:   reedy
Date:     2011-08-19 23:12:46 +0000 (Fri, 19 Aug 2011)
Log Message:
-----------
Swap from NS_MAIN to use MWNamespace::getContentNamespaces()

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialWithoutinterwiki.php

Modified: trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
===================================================================
--- trunk/phase3/includes/specials/SpecialWithoutinterwiki.php  2011-08-19 
23:11:12 UTC (rev 95051)
+++ trunk/phase3/includes/specials/SpecialWithoutinterwiki.php  2011-08-19 
23:12:46 UTC (rev 95052)
@@ -84,7 +84,7 @@
                                        'page_title AS title',
                                        'page_title AS value' ),
                        'conds' => array ( 'll_title IS NULL',
-                                       'page_namespace' => NS_MAIN,
+                                       'page_namespace' => 
MWNamespace::getContentNamespaces(),
                                        'page_is_redirect' => 0 ),
                        'join_conds' => array ( 'langlinks' => array (
                                        'LEFT JOIN', 'll_from = page_id' ) )


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

Reply via email to