r87481 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87480‎ | r87481 | r87482 >
Date:05:26, 5 May 2011
Author:demon
Status:ok
Tags:
Comment:
(bug 28641) Doc fix for wfEmptyMsg()
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -2296,7 +2296,7 @@
22972297 /**
22982298 * Since wfMsg() and co suck, they don't return false if the message key they
22992299 * looked up didn't exist but a XHTML string, this function checks for the
2300 - * nonexistance of messages by looking at wfMsg() output
 2300+ * nonexistance of messages by checking the MessageCache::get() result directly.
23012301 *
23022302 * @param $key String: the message key looked up
23032303 * @return Boolean True if the message *doesn't* exist.

Status & tagging log