From: Reedy Date: Sun, 3 Jan 2016 00:21:35 +0000 (+0000) Subject: wfMsgForContentNoTrans() was removed X-Git-Tag: 1.31.0-rc.0~8468 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=872d5a4739c270fe1e3c209a6efe75bcd95b517d wfMsgForContentNoTrans() was removed Bug: T70750 Change-Id: I295b451ecbf765d4c10d90a8373a96b88b8f4115 --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index a6e626350a..d46ca1cdfd 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 f71d765bbf..187ba9a2de 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1543,29 +1543,6 @@ function wfMsgForContent( $key ) { return wfMsgReal( $key, $args, true, $forcontent ); } -/** - * 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 *