r95997 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95996‎ | r95997 | r95998 >
Date:15:20, 1 September 2011
Author:krinkle
Status:ok
Tags:
Comment:
Change default value for format property of mw.message object from 'parse' to 'plain'. This doesn't make a diffferent right now since there there is no format by the name of 'parse' and it uses 'plain' as fallback. In case ppl read the format property it should atleast be valid by default
Modified paths:
  • /trunk/phase3/resources/mediawiki/mediawiki.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki/mediawiki.js
@@ -119,7 +119,7 @@
120120 * @return Message
121121 */
122122 function Message( map, key, parameters ) {
123 - this.format = 'parse';
 123+ this.format = 'plain';
124124 this.map = map;
125125 this.key = key;
126126 this.parameters = parameters === undefined ? [] : $.makeArray( parameters );

Follow-up revisions

RevisionCommit summaryAuthorDate
r95998Fix r95997: Update unit testkrinkle15:22, 1 September 2011

Status & tagging log