Merge "Port BCP47 formatter from PHP to JavaScript"
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index fa97515..e80ecf1 100644 (file)
@@ -3160,6 +3160,7 @@ function wfShorthandToInteger( $string = '', $default = -1 ) {
 /**
  * Get the normalised IETF language tag
  * See unit test for examples.
+ * See mediawiki.language.bcp47 for the JavaScript implementation.
  *
  * @param string $code The language code.
  * @return string The language code which complying with BCP 47 standards.