r108459 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108458‎ | r108459 | r108460 >
Date:19:02, 9 January 2012
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r106926
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/UploadWizard/resources/mw.UploadWizardLicenseInput.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/UploadWizard/resources/mw.UploadWizardLicenseInput.js
@@ -486,7 +486,7 @@
487487 * @return boolean
488488 */
489489 validateWikiText: function( text ) {
490 - var parser = new mw.language.parser(),
 490+ var parser = new mw.jqueryMsg.parser(),
491491 _this = this,
492492 ast;
493493
@@ -512,7 +512,7 @@
513513 node = $j.map( node, function( n, i ) {
514514 return i == 0 ? n : [[n]];
515515 } );
516 - } else if ( typeof mw.language.htmlEmitter.prototype[lcNodeName] !== 'function' ) {
 516+ } else if ( typeof mw.jqueryMsg.htmlEmitter.prototype[lcNodeName] !== 'function' ) {
517517 templates.push( nodeName );
518518 }
519519 $j.map( node.slice( 1 ), function( n ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r106926mw.language.parser -> mw.jqueryMsgneilk02:50, 21 December 2011

Status & tagging log