r95052 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95051‎ | r95052 | r95053 >
Date:23:12, 19 August 2011
Author:reedy
Status:ok
Tags:
Comment:
Swap from NS_MAIN to use MWNamespace::getContentNamespaces()
Modified paths:
  • /trunk/phase3/includes/specials/SpecialWithoutinterwiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialWithoutinterwiki.php
@@ -84,7 +84,7 @@
8585 'page_title AS title',
8686 'page_title AS value' ),
8787 'conds' => array ( 'll_title IS NULL',
88 - 'page_namespace' => NS_MAIN,
 88+ 'page_namespace' => MWNamespace::getContentNamespaces(),
8989 'page_is_redirect' => 0 ),
9090 'join_conds' => array ( 'langlinks' => array (
9191 'LEFT JOIN', 'll_from = page_id' ) )

Sign-offs

UserFlagDate
Hasharinspected14:37, 21 August 2011

Status & tagging log