r106926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106925‎ | r106926 | r106927 >
Date:02:50, 21 December 2011
Author:neilk
Status:ok (Comments)
Tags:
Comment:
mw.language.parser -> mw.jqueryMsg
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizardLicenseInput.js (modified) (history)

Diff [purge]

Index: trunk/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 ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r1084591.18wmf1: MFT r106926catrope19:02, 9 January 2012

Comments

#Comment by NeilK (talk | contribs)   00:25, 31 December 2011
#Comment by NeilK (talk | contribs)   00:26, 31 December 2011

Added scaptrap to this change, not because it requires a config fix, because of the above CSS fix needed after push. If there's a better tag for this I don't know it

#Comment by NeilK (talk | contribs)   00:41, 31 December 2011

And, this message should be changed in MediaWiki: space. http://commons.wikimedia.org/wiki/MediaWiki:Mwe-upwiz-license-custom

Status & tagging log