r62255 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62254‎ | r62255 | r62256 >
Date:19:07, 10 February 2010
Author:dale
Status:deferred
Tags:
Comment:
* added gadget check for getURLParamValue ( as named in en common.js )
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/remotes/mediaWiki.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/remotes/mediaWiki.js
@@ -397,7 +397,7 @@
398398 scripts = document.getElementsByTagName( 'script' );
399399
400400 // Check for document paramater withJS and ignore found gadget
401 - if( typeof getParamValue == 'undefined' ){
 401+ if( typeof getParamValue == 'undefined' && typeof getURLParamValue == 'undefined'){
402402 return false;
403403 }
404404

Status & tagging log