wfMsgForContentNoTrans() was removed
authorReedy <reedy@wikimedia.org>
Sun, 3 Jan 2016 00:21:35 +0000 (00:21 +0000)
committerReedy <reedy@wikimedia.org>
Sun, 3 Jan 2016 00:41:36 +0000 (00:41 +0000)
Bug: T70750
Change-Id: I295b451ecbf765d4c10d90a8373a96b88b8f4115

RELEASE-NOTES-1.27
includes/GlobalFunctions.php

index a6e6263..d46ca1c 100644 (file)
@@ -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 ==
 
index f71d765..187ba9a 100644 (file)
@@ -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
  *