Index: trunk/extensions/MwEmbedSupport/MwEmbedModules/MediaWikiSupport/resources/MediaWikiPlayerSupport.js |
— | — | @@ -252,14 +252,12 @@ |
253 | 253 | var provider = $( embedPlayer).attr( 'data-mwprovider'); |
254 | 254 | |
255 | 255 | var iframeUrl = false; |
256 | | - var appendJs = ( mw.getConfig( 'Mw.AppendWithJS' ) )? mw.getConfig( 'Mw.AppendWithJS' ) + '&' : ''; |
257 | 256 | if( mw.getConfig('wgServer') && mw.getConfig('wgArticlePath') ){ |
258 | 257 | iframeUrl = mw.getConfig('wgServer') + |
259 | 258 | mw.getConfig('wgArticlePath').replace( /\$1/, 'File:' + |
260 | 259 | unescape( embedPlayer.apiTitleKey ).replace( /^(File:|Image:)/ , '' ) ) + |
261 | | - '?' + appendJs + 'embedplayer=yes'; |
| 260 | + '?' + 'embedplayer=yes'; |
262 | 261 | } |
263 | | - |
264 | 262 | callback( iframeUrl ); |
265 | 263 | }); |
266 | 264 | }; |