Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardLicenseInput.js |
— | — | @@ -486,7 +486,7 @@ |
487 | 487 | * @return boolean |
488 | 488 | */ |
489 | 489 | validateWikiText: function( text ) { |
490 | | - var parser = new mw.language.parser(), |
| 490 | + var parser = new mw.jqueryMsg.parser(), |
491 | 491 | _this = this, |
492 | 492 | ast; |
493 | 493 | |
— | — | @@ -512,7 +512,7 @@ |
513 | 513 | node = $j.map( node, function( n, i ) { |
514 | 514 | return i == 0 ? n : [[n]]; |
515 | 515 | } ); |
516 | | - } else if ( typeof mw.language.htmlEmitter.prototype[lcNodeName] !== 'function' ) { |
| 516 | + } else if ( typeof mw.jqueryMsg.htmlEmitter.prototype[lcNodeName] !== 'function' ) { |
517 | 517 | templates.push( nodeName ); |
518 | 518 | } |
519 | 519 | $j.map( node.slice( 1 ), function( n ) { |