From: Brian Wolff Date: Sat, 14 Dec 2013 02:16:35 +0000 (-0700) Subject: Use canonical casing for Xml::option (no code changes) X-Git-Tag: 1.31.0-rc.0~17637 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=0feb2d30e5c8c83930adfce2336762c5c0066178;p=lhc%2Fweb%2Fwiklou.git Use canonical casing for Xml::option (no code changes) Per Umherirrender. Change-Id: I520d71cc9969fe823122565faea9e725f96972f4 Follow-up: d0c0bad56d8ff3fe --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 05e1899360..c73d72c9c8 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -991,7 +991,7 @@ EOT } else { $display = $code; } - $opts .= "\n" . XML::Option( $display, $code, $curLang === $code ); + $opts .= "\n" . Xml::option( $display, $code, $curLang === $code ); if ( $curLang === $code ) { $haveCurrentLang = true; } @@ -1002,7 +1002,7 @@ EOT if ( !$haveDefaultLang ) { // Its hard to know if the content is really in the default language, or // if its just unmarked content that could be in any language. - $opts = XML::Option( wfMessage( 'img-lang-default' )->text(), '', $defaultLang === $curLang ) . $opts; + $opts = Xml::option( wfMessage( 'img-lang-default' )->text(), '', $defaultLang === $curLang ) . $opts; } if ( !$haveCurrentLang && $defaultLang !== $curLang ) { $name = Language::fetchLanguageName( $curLang, $this->getContext()->getLanguage()->getCode() ); @@ -1011,7 +1011,7 @@ EOT } else { $display = $curLang; } - $opts = XML::Option( $display, $curLang, true ) . $opts; + $opts = Xml::option( $display, $curLang, true ) . $opts; } $select = Html::rawElement( 'select', array( 'id' => 'mw-imglangselector', 'name' => 'lang' ), $opts );