Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | } |
38 | 38 | |
39 | 39 | //mwReqParam['debug'] = false; |
40 | | -mwUseScriptLoader = true; |
| 40 | +//mwUseScriptLoader = true; |
41 | 41 | //mwRemoteVersion = Math.random(); |
42 | 42 | |
43 | 43 | // Setup up some globals to wrap mwEmbed mw.ready and mw.setConfig functions |
— | — | @@ -122,7 +122,9 @@ |
123 | 123 | } |
124 | 124 | |
125 | 125 | // Timed text display: |
126 | | - if ( wgPageName.indexOf( "TimedText:" ) === 0 ) { |
| 126 | + if ( wgPageName.indexOf( "TimedText:" ) === 0 |
| 127 | + && |
| 128 | + document.URL.indexOf('&diff=') == -1) { |
127 | 129 | if( wgAction == 'view' ){ |
128 | 130 | var orgBody = mwSetPageToLoading(); |
129 | 131 | //load the "player" ( includes call to loadMwEmbed ) |