r75186 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75185‎ | r75186 | r75187 >
Date:12:03, 22 October 2010
Author:hartman
Status:deferred
Tags:
Comment:
mwEmbed, normalize from ' ' -> '_' for subtitles, to keep things consistent.
Modified paths:
  • /branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js
@@ -1406,7 +1406,7 @@
14071407 sources.push( {
14081408 'extension': extension,
14091409 'srclang': langKey,
1410 - 'titleKey': subPage.title
 1410+ 'titleKey': subPage.title.replace( / /g, "_")
14111411 } );
14121412 }
14131413 }

Status & tagging log