Mark wfMsgWikiHtml() as an interface message so it doesn't get converted according...
authorRobin Pepermans <robin@users.mediawiki.org>
Fri, 12 Aug 2011 23:14:32 +0000 (23:14 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Fri, 12 Aug 2011 23:14:32 +0000 (23:14 +0000)
includes/GlobalFunctions.php

index 3c48d72..a06fdef 100644 (file)
@@ -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 );
 }