From: Alexandre Emsenhuber Date: Fri, 22 Apr 2011 19:54:01 +0000 (+0000) Subject: Follow-up r86732: really mark it as deprecated ;) X-Git-Tag: 1.31.0-rc.0~30627 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=commitdiff_plain;h=69220171645bc531d3c22fbc3a02521e18113944;p=lhc%2Fweb%2Fwiklou.git Follow-up r86732: really mark it as deprecated ;) --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index d9db140eab..e69d3e2f5a 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -591,8 +591,11 @@ function wfMsgForContentNoTrans( $key ) { /** * Get a message from the language file, for the UI elements + * + * @deprecated in 1.18; use wfMessage() */ function wfMsgNoDB( $key ) { + wfDeprecated( __FUNCTION__ ); $args = func_get_args(); array_shift( $args ); return wfMsgReal( $key, $args, false );