Shell\Command: Move code that builds final shell command into separate method
[lhc/web/wiklou.git] / languages / Language.php
index c514cdc..435f058 100644 (file)
@@ -4309,7 +4309,7 @@ class Language {
         */
        public function getHtmlCode() {
                if ( is_null( $this->mHtmlCode ) ) {
-                       $this->mHtmlCode = wfBCP47( $this->getCode() );
+                       $this->mHtmlCode = LanguageCode::bcp47( $this->getCode() );
                }
                return $this->mHtmlCode;
        }