From: C. Scott Ananian Date: Tue, 26 Jun 2018 18:11:59 +0000 (-0400) Subject: Hard deprecate wfBCP47, which was soft deprecated in 1.31 X-Git-Tag: 1.34.0-rc.0~4882^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=6f60ee3b27f292af4183818aa8900bb1c6e3fc6a;p=lhc%2Fweb%2Fwiklou.git Hard deprecate wfBCP47, which was soft deprecated in 1.31 Change-Id: I8632f08a8cb22641b5d16d955f3164dc45843520 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index d9996f426f..6f32ed1bcc 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -3103,6 +3103,7 @@ function wfShorthandToInteger( $string = '', $default = -1 ) { * @return string The language code which complying with BCP 47 standards. */ function wfBCP47( $code ) { + wfDeprecated( __METHOD__, '1.31' ); return LanguageCode::bcp47( $code ); }