r94395 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94394‎ | r94395 | r94396 >
Date:23:14, 12 August 2011
Author:robin
Status:ok
Tags:
Comment:
Mark wfMsgWikiHtml() as an interface message so it doesn't get converted according to the content language (see also r94279)
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -1178,7 +1178,8 @@
11791179 $args = func_get_args();
11801180 array_shift( $args );
11811181 return wfMsgReplaceArgs(
1182 - MessageCache::singleton()->parse( wfMsgGetKey( $key ), null, /* can't be set to false */ true )->getText(),
 1182+ MessageCache::singleton()->parse( wfMsgGetKey( $key ), null,
 1183+ /* can't be set to false */ true, /* interface */ true )->getText(),
11831184 $args );
11841185 }
11851186

Follow-up revisions

RevisionCommit summaryAuthorDate
r96257Correctly parse interface messages as such, so it doesn't get converted accor...robin21:19, 4 September 2011
r96737Correctly parse interface messages as such, so it doesn't get converted accor...robin20:05, 10 September 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94279* CategoryPage.php: fix the "category-empty" message per comment on r91518, i...robin19:58, 11 August 2011

Status & tagging log