r56823 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56822‎ | r56823 | r56824 >
Date:16:10, 23 September 2009
Author:dale
Status:deferred
Tags:
Comment:
opps missing function call
Modified paths:
  • /trunk/phase3/js2/mwEmbed/jsScriptLoader.php (modified) (history)

Diff [purge]

Index: trunk/phase3/js2/mwEmbed/jsScriptLoader.php
@@ -204,8 +204,8 @@
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){
210210 $doAddWT = true;
211211 }
212212 }
@@ -231,7 +231,7 @@
232232 }
233233 }
234234
235 -
 235+
236236 // Add the language code to the rKey:
237237 $this->rKey .= '_' . $wgContLanguageCode;
238238

Status & tagging log