From 872d5a4739c270fe1e3c209a6efe75bcd95b517d Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 3 Jan 2016 00:21:35 +0000 Subject: [PATCH] wfMsgForContentNoTrans() was removed Bug: T70750 Change-Id: I295b451ecbf765d4c10d90a8373a96b88b8f4115 --- RELEASE-NOTES-1.27 | 1 + includes/GlobalFunctions.php | 23 ----------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index a6e626350a1..d46ca1cdfda 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -211,6 +211,7 @@ changes to languages because of Phabricator reports. * wfCheckLimits() was removed (deprecated since 1.24). * Linker::makeKnownLinkObj() was removed (deprecated since 1.16). * Linker::makeLinkObj() was removed (deprecated since 1.16). +* wfMsgForContentNoTrans() was removed (deprecated since 1.18). == Compatibility == diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index f71d765bbf1..187ba9a2de5 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1544,29 +1544,6 @@ function wfMsgForContent( $key ) { } /** - * Same as above except doesn't transform the message - * - * @deprecated since 1.18 - * - * @param string $key - * @return string - */ -function wfMsgForContentNoTrans( $key ) { - wfDeprecated( __METHOD__, '1.21' ); - - global $wgForceUIMsgAsContentMsg; - $args = func_get_args(); - array_shift( $args ); - $forcontent = true; - if ( is_array( $wgForceUIMsgAsContentMsg ) - && in_array( $key, $wgForceUIMsgAsContentMsg ) - ) { - $forcontent = false; - } - return wfMsgReal( $key, $args, true, $forcontent, false ); -} - -/** * Really get a message * * @deprecated since 1.18 -- 2.11.4.GIT