From: Sam Reed Date: Fri, 19 Aug 2011 23:12:46 +0000 (+0000) Subject: Swap from NS_MAIN to use MWNamespace::getContentNamespaces() X-Git-Tag: 1.31.0-rc.0~28156 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=3a9e3012e7603f813bda5aa5821f4cc264ed0a54;p=lhc%2Fweb%2Fwiklou.git Swap from NS_MAIN to use MWNamespace::getContentNamespaces() --- diff --git a/includes/specials/SpecialWithoutinterwiki.php b/includes/specials/SpecialWithoutinterwiki.php index 9d91b83376..3a37835cd2 100644 --- a/includes/specials/SpecialWithoutinterwiki.php +++ b/includes/specials/SpecialWithoutinterwiki.php @@ -84,7 +84,7 @@ class WithoutInterwikiPage extends PageQueryPage { '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' ) )