r56824 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56823‎ | r56824 | r56825 >
Date:16:13, 23 September 2009
Author:dale
Status:deferred
Tags:
Comment:
sorry for extra svn traffic
Modified paths:
  • /trunk/phase3/js2/mwEmbed/jsScriptLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/js2/mwEmbed/jsScriptLoader.php
@@ -204,8 +204,9 @@
205205 //make sure its a valid wikipage before doing processing
206206 $t = Title::newFromDBkey( substr( $reqClass, 3) );
207207 if( $t->exists()
208 - && $t->getNamespace() == NS_MEDIAWIKI
209 - && $t->getNamespace() == NS_USER){
 208+ && ( $t->getNamespace() == NS_MEDIAWIKI
 209+ || $t->getNamespace() == NS_USER ) ){
 210+
210211 $doAddWT = true;
211212 }
212213 }

Status & tagging log