wfEmptyMsg() was removed
authorReedy <reedy@wikimedia.org>
Sat, 2 Jan 2016 03:05:05 +0000 (03:05 +0000)
committerFlorianschmidtwelzow <florian.schmidt.stargatewissen@gmail.com>
Sat, 2 Jan 2016 17:00:21 +0000 (17:00 +0000)
Bug: T70750
Change-Id: I8c641f5698da2b1ad18d3285b5705d3fe9a3e655

RELEASE-NOTES-1.27
includes/GlobalFunctions.php

index b1a4ccb..a243f36 100644 (file)
@@ -197,6 +197,7 @@ changes to languages because of Phabricator reports.
 * The maintenance/backupTextPass.inc file was deleted. You should include
   maintenance/dumpTextPass.php instead.
 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
+* wfEmptyMsg() was removed (deprecated since 1.18).
 
 == Compatibility ==
 
index 47d086b..075f69e 100644 (file)
@@ -1778,22 +1778,6 @@ function wfMsgExt( $key, $options ) {
        return $string;
 }
 
-/**
- * Since wfMsg() and co suck, they don't return false if the message key they
- * looked up didn't exist but instead the key wrapped in <>'s, this function checks for the
- * nonexistence of messages by checking the MessageCache::get() result directly.
- *
- * @deprecated since 1.18. Use Message::isDisabled().
- *
- * @param string $key The message key looked up
- * @return bool True if the message *doesn't* exist.
- */
-function wfEmptyMsg( $key ) {
-       wfDeprecated( __METHOD__, '1.21' );
-
-       return MessageCache::singleton()->get( $key, /*useDB*/true, /*content*/false ) === false;
-}
-
 /**
  * Fetch server name for use in error reporting etc.
  * Use real server name if available, so we know which machine