http://www.mediawiki.org/wiki/Special:Code/MediaWiki/58771
Revision: 58771 Author: j Date: 2009-11-08 14:50:06 +0000 (Sun, 08 Nov 2009) Log Message: ----------- use wgPageName Modified Paths: -------------- trunk/phase3/js2/mwEmbed/libTimedText/mvTimeTextEdit.js Modified: trunk/phase3/js2/mwEmbed/libTimedText/mvTimeTextEdit.js =================================================================== --- trunk/phase3/js2/mwEmbed/libTimedText/mvTimeTextEdit.js 2009-11-08 14:46:45 UTC (rev 58770) +++ trunk/phase3/js2/mwEmbed/libTimedText/mvTimeTextEdit.js 2009-11-08 14:50:06 UTC (rev 58771) @@ -24,7 +24,7 @@ return srtData; } function getVideoTitle() { - var videoTitle = wgTitle.split('.'); + var videoTitle = wgPageName.split('.'); videoTitle.pop(); videoTitle.pop(); videoTitle = videoTitle.join('.').replace('TimedText:', 'File:'); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs