http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91444
Revision: 91444 Author: jan Date: 2011-07-05 08:30:47 +0000 (Tue, 05 Jul 2011) Log Message: ----------- follow-up r91439: Change option "parse" to "parsemag" (MediaWiki option in this context) Modified Paths: -------------- trunk/tools/ToolserverI18N/TsIntuition.php Modified: trunk/tools/ToolserverI18N/TsIntuition.php =================================================================== --- trunk/tools/ToolserverI18N/TsIntuition.php 2011-07-05 07:18:06 UTC (rev 91443) +++ trunk/tools/ToolserverI18N/TsIntuition.php 2011-07-05 08:30:47 UTC (rev 91444) @@ -359,7 +359,8 @@ * - lang: overrides the currently selected language * - variables: numerical array to do variable replacements ($1> var[0], $2> var[1], etc.) * - raw-variables: boolean to determine whether the variables should be escaped as well - * - parse: boolean to determine whether the message sould be parsed (PLURAL, etc.) + * - parsemag: boolean to determine whether the message sould be tranformed + * using magic phrases (PLURAL, etc.) * - escape: Optionally the return can be escaped. By default this takes place after variable * replacement. Set 'raw-variables' to true if you just want the raw message * to be escaped and have escaped the variables already. @@ -382,7 +383,7 @@ 'variables' => array(), 'raw-variables' => false, 'escape' => 'plain', - 'parse' => false, + 'parsemag' => false, ); // If $options was a domain string, convert it now. @@ -439,7 +440,7 @@ } // Some parsing work - if ( $options['parse'] === true ) { + if ( $options['parsemag'] === true ) { $msg = $this->getMessagesFunctions()->parse( $msg, $lang ); } _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs