From: Robin Pepermans Date: Fri, 12 Aug 2011 23:14:32 +0000 (+0000) Subject: Mark wfMsgWikiHtml() as an interface message so it doesn't get converted according... X-Git-Tag: 1.31.0-rc.0~28299 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=9797463d226d20ec36f03c76bfda3d84c6421b12;p=lhc%2Fweb%2Fwiklou.git Mark wfMsgWikiHtml() as an interface message so it doesn't get converted according to the content language (see also r94279) --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 3c48d72eb3..a06fdeff8a 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1178,7 +1178,8 @@ function wfMsgWikiHtml( $key ) { $args = func_get_args(); array_shift( $args ); return wfMsgReplaceArgs( - MessageCache::singleton()->parse( wfMsgGetKey( $key ), null, /* can't be set to false */ true )->getText(), + MessageCache::singleton()->parse( wfMsgGetKey( $key ), null, + /* can't be set to false */ true, /* interface */ true )->getText(), $args ); }