r79155 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79154‎ | r79155 | r79156 >
Date:02:30, 29 December 2010
Author:dale
Status:deferred
Tags:
Comment:
should fix bug 25529
Modified paths:
  • /branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js (modified) (history)

Diff [purge]

Index: branches/MwEmbedStandAlone/modules/TimedText/mw.TimedText.js
@@ -1567,6 +1567,9 @@
15681568 for ( var i=0; i < sourcePages.query.allpages.length; i++ ) {
15691569
15701570 var subPage = sourcePages.query.allpages[i];
 1571+ if( !subPage || !subPage.title ){
 1572+ continue;
 1573+ }
15711574 var langKey = subPage.title.split( '.' );
15721575 var extension = langKey.pop();
15731576 langKey = langKey.pop();

Status & tagging log