allow the including parser to do it.
* Fix {{int:}} to use content language, so it won't break caches and links
tables and randomly include data from the wrong language.
wfMsg() family (except for wfMsgHtml). This allows things like {{plural:}},
{{urlencode:}}, and {{fullurl:}} to be used in most cases correctly.
The content or UI language will be used accordingly for (forContent)?.
+* Work around glitch with the above in {{int:}}; skip redundant transformations,
+ allow the including parser to do it.
+* Fix {{int:}} to use content language, so it won't break caches and links
+ tables and randomly include data from the wrong language.
== Compatibility ==
$mwInt =& MagicWord::get( MAG_INT );
if ( $mwInt->matchStartAndRemove( $part1 ) ) {
if ( $this->incrementIncludeCount( 'int:'.$part1 ) ) {
- $text = $linestart . wfMsgReal( $part1, $args, true );
+ $text = $linestart . wfMsgReal( $part1, $args, true,
+ /* ui language */false, /* transform */false );
$found = true;
}
}