Index: trunk/phase3/includes/Parser.php |
— | — | @@ -2574,7 +2574,8 @@ |
2575 | 2575 | $mwInt =& MagicWord::get( MAG_INT ); |
2576 | 2576 | if ( $mwInt->matchStartAndRemove( $part1 ) ) { |
2577 | 2577 | if ( $this->incrementIncludeCount( 'int:'.$part1 ) ) { |
2578 | | - $text = $linestart . wfMsgReal( $part1, $args, true ); |
| 2578 | + $text = $linestart . wfMsgReal( $part1, $args, true, |
| 2579 | + /* ui language */false, /* transform */false ); |
2579 | 2580 | $found = true; |
2580 | 2581 | } |
2581 | 2582 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -363,6 +363,10 @@ |
364 | 364 | wfMsg() family (except for wfMsgHtml). This allows things like {{plural:}}, |
365 | 365 | {{urlencode:}}, and {{fullurl:}} to be used in most cases correctly. |
366 | 366 | The content or UI language will be used accordingly for (forContent)?. |
| 367 | +* Work around glitch with the above in {{int:}}; skip redundant transformations, |
| 368 | + allow the including parser to do it. |
| 369 | +* Fix {{int:}} to use content language, so it won't break caches and links |
| 370 | + tables and randomly include data from the wrong language. |
367 | 371 | |
368 | 372 | |
369 | 373 | == Compatibility == |