r113692 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113691‎ | r113692 | r113693 >
Date:00:19, 13 March 2012
Author:dale
Status:ok
Tags:
Comment:
make absolute urls for iframe embeds
Modified paths:
  • /trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/MwEmbedModules/EmbedPlayer/resources/mw.EmbedPlayer.js
@@ -1547,7 +1547,7 @@
15481548 return iframeUrl;
15491549 }
15501550 // old style embed:
1551 - var iframeUrl = mw.getMwEmbedPath() + 'mwEmbedFrame.php?';
 1551+ var iframeUrl = mw.absoluteUrl( mw.getMwEmbedPath() + 'mwEmbedFrame.php?' );
15521552 var params = { 'src[]' : [] };
15531553
15541554 // TODO move to mediaWiki Support module

Status & tagging log