Remove wfMsgNoTrans()
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 3 Jan 2016 13:00:15 +0000 (14:00 +0100)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 3 Jan 2016 20:42:56 +0000 (21:42 +0100)
Bug: T70750
Change-Id: Ie8ac70454778b1af7f9dc7026e6dd9749c2abae0

RELEASE-NOTES-1.27
includes/GlobalFunctions.php

index 1337435..08726a4 100644 (file)
@@ -213,6 +213,7 @@ changes to languages because of Phabricator reports.
 * Linker::makeLinkObj() was removed (deprecated since 1.16).
 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
 * ChangesList::usePatrol was removed (deprecated since 1.22).
+* wfMsgNoTrans() was removed (deprecated since 1.18).
 
 == Compatibility ==
 
index 187ba9a..2b018d9 100644 (file)
@@ -1487,22 +1487,6 @@ function wfMsg( $key ) {
        return wfMsgReal( $key, $args );
 }
 
-/**
- * Same as above except doesn't transform the message
- *
- * @deprecated since 1.18
- *
- * @param string $key
- * @return string
- */
-function wfMsgNoTrans( $key ) {
-       wfDeprecated( __METHOD__, '1.21' );
-
-       $args = func_get_args();
-       array_shift( $args );
-       return wfMsgReal( $key, $args, true, false, false );
-}
-
 /**
  * Get a message from anywhere, for the current global language
  * set with $wgLanguageCode.