From 6f60ee3b27f292af4183818aa8900bb1c6e3fc6a Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 26 Jun 2018 14:11:59 -0400 Subject: [PATCH] Hard deprecate wfBCP47, which was soft deprecated in 1.31 Change-Id: I8632f08a8cb22641b5d16d955f3164dc45843520 --- includes/GlobalFunctions.php | 1 + 1 file changed, 1 insertion(+) 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 ); } -- 2.20.1