Removed deprecated functions wfMsgNoDB(), wfMsgNoDBForContent() and wfMsgWeirdKey...
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index 4de4c8b..141bef8 100644 (file)
@@ -1023,38 +1023,6 @@ function wfMsgForContentNoTrans( $key ) {
        return wfMsgReal( $key, $args, true, $forcontent, false );
 }
 
-/**
- * Get a message from the language file, for the UI elements
- *
- * @deprecated since 1.18; use wfMessage()
- */
-function wfMsgNoDB( $key ) {
-       wfDeprecated( __FUNCTION__ );
-       $args = func_get_args();
-       array_shift( $args );
-       return wfMsgReal( $key, $args, false );
-}
-
-/**
- * Get a message from the language file, for the content
- *
- * @deprecated since 1.18; use wfMessage()
- */
-function wfMsgNoDBForContent( $key ) {
-       wfDeprecated( __FUNCTION__ );
-       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, false, $forcontent );
-}
-
-
 /**
  * Really get a message
  *
@@ -1073,22 +1041,6 @@ function wfMsgReal( $key, $args, $useDB = true, $forContent = false, $transform
        return $message;
 }
 
-/**
- * This function provides the message source for messages to be edited which are *not* stored in the database.
- *
- * @deprecated since 1.18; use wfMessage()
- * @param $key String
- */
-function wfMsgWeirdKey( $key ) {
-       wfDeprecated( __FUNCTION__ );
-       $source = wfMsgGetKey( $key, false, true, false );
-       if ( wfEmptyMsg( $key ) ) {
-               return '';
-       } else {
-               return $source;
-       }
-}
-
 /**
  * Fetch a message string value, but don't replace any keys yet.
  *