r74010 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74009‎ | r74010 | r74011 >
Date:02:25, 30 September 2010
Author:dale
Status:deferred
Tags:
Comment:
fixed bug 25370
Modified paths:
  • /branches/MwEmbedStandAlone/remotes/mediaWiki.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js
@@ -36,7 +36,7 @@
3737 }
3838
3939 //mwReqParam['debug'] = false;
40 -mwUseScriptLoader = true;
 40+//mwUseScriptLoader = true;
4141 //mwRemoteVersion = Math.random();
4242
4343 // Setup up some globals to wrap mwEmbed mw.ready and mw.setConfig functions
@@ -122,7 +122,9 @@
123123 }
124124
125125 // Timed text display:
126 - if ( wgPageName.indexOf( "TimedText:" ) === 0 ) {
 126+ if ( wgPageName.indexOf( "TimedText:" ) === 0
 127+ &&
 128+ document.URL.indexOf('&diff=') == -1) {
127129 if( wgAction == 'view' ){
128130 var orgBody = mwSetPageToLoading();
129131 //load the "player" ( includes call to loadMwEmbed )

Status & tagging log