From: Florian Date: Sun, 3 Jan 2016 13:00:15 +0000 (+0100) Subject: Remove wfMsgNoTrans() X-Git-Tag: 1.31.0-rc.0~8462 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=08478f550badb4a5a2f25cc0d7b091839e3c9170;p=lhc%2Fweb%2Fwiklou.git Remove wfMsgNoTrans() Bug: T70750 Change-Id: Ie8ac70454778b1af7f9dc7026e6dd9749c2abae0 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 1337435253..08726a48c0 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -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 == diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 187ba9a2de..2b018d99a6 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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.