r77060 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77059‎ | r77060 | r77061 >
Date:18:22, 20 November 2010
Author:dale
Status:deferred
Tags:
Comment:
small fix unescape titlekeys ( so they don't get double encoded and are valid apiTitle requests
Modified paths:
  • /branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js
@@ -849,7 +849,7 @@
850850 if( text === this.prevText[ source.category ] )
851851 return ;
852852
853 - mw.log( 'mw.TimedText:: updateTextDisplay: ' + text );
 853+ //mw.log( 'mw.TimedText:: updateTextDisplay: ' + text );
854854
855855 var $playerTarget = this.embedPlayer.$interface;
856856 var $textTarget = $playerTarget.find( '.track_' + source.category + ' span' );
@@ -1357,7 +1357,7 @@
13581358 var _this = this;
13591359 var request = {
13601360 'list' : 'allpages',
1361 - 'apprefix' : titleKey,
 1361+ 'apprefix' : unescape( titleKey ),
13621362 'apnamespace' : this.getTimedTextNS(),
13631363 'aplimit' : 200,
13641364 'prop':'revisions',

Status & tagging log