From 9797463d226d20ec36f03c76bfda3d84c6421b12 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Fri, 12 Aug 2011 23:14:32 +0000 Subject: [PATCH] Mark wfMsgWikiHtml() as an interface message so it doesn't get converted according to the content language (see also r94279) --- includes/GlobalFunctions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } -- 2.20.1