dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c31dc8
)
Hard deprecate wfBCP47, which was soft deprecated in 1.31
author
C. Scott Ananian
<cscott@cscott.net>
Tue, 26 Jun 2018 18:11:59 +0000
(14:11 -0400)
committer
C. Scott Ananian
<cananian@wikimedia.org>
Tue, 3 Jul 2018 14:04:45 +0000
(14:04 +0000)
Change-Id: I8632f08a8cb22641b5d16d955f3164dc45843520
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
d9996f4
..
6f32ed1
100644
(file)
--- 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 );
}