Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | */ |
6 | 6 | var urlparts = getRemoteEmbedPath(); |
7 | 7 | var mwEmbedHostPath = urlparts[0]; |
8 | | -var mwRemoteVersion = 'r127'; |
| 8 | +var mwRemoteVersion = 'r128'; |
9 | 9 | var mwUseScriptLoader = true; |
10 | 10 | |
11 | 11 | // Log the mwRemote version makes it easy to debug cache issues |
— | — | @@ -21,8 +21,12 @@ |
22 | 22 | mwReqParam[ p[0] ] = p[1]; |
23 | 23 | } |
24 | 24 | } |
25 | | - |
26 | 25 | |
| 26 | +// Check if debug mode and disable script grouping |
| 27 | +if( mwReqParam['debug'] ) { |
| 28 | + mwUseScriptLoader = false; |
| 29 | +} |
| 30 | + |
27 | 31 | // Use wikibits onLoad hook: ( since we don't have js2 / mw object loaded ) |
28 | 32 | addOnloadHook( function() { |
29 | 33 | doPageSpecificRewrite(); |
— | — | @@ -332,11 +336,13 @@ |
333 | 337 | */ |
334 | 338 | function mwGetReqArgs() { |
335 | 339 | var rurl = ''; |
336 | | - if ( mwReqParam['debug'] ) |
| 340 | + if ( mwReqParam['debug'] ){ |
337 | 341 | rurl += 'debug=true&'; |
| 342 | + } |
338 | 343 | |
339 | | - if ( mwReqParam['uselang'] ) |
| 344 | + if ( mwReqParam['uselang'] ){ |
340 | 345 | rurl += 'uselang=' + mwReqParam['uselang'] + '&'; |
| 346 | + } |
341 | 347 | |
342 | 348 | if ( mwReqParam['urid'] ) { |
343 | 349 | rurl += 'urid=' + mwReqParam['urid']; |