Brian Wolff has uploaded a new change for review. https://gerrit.wikimedia.org/r/101464
Change subject: Use canonical casing for Xml::option (no code changes) ...................................................................... Use canonical casing for Xml::option (no code changes) Per Umherirrender. Change-Id: I520d71cc9969fe823122565faea9e725f96972f4 Follow-up: d0c0bad56d8ff3fe --- M includes/ImagePage.php 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/64/101464/1 diff --git a/includes/ImagePage.php b/includes/ImagePage.php index 93cef53..6e5f869 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -989,7 +989,7 @@ } else { $display = $code; } - $opts .= "\n" . XML::Option( $display, $code, $curLang === $code ); + $opts .= "\n" . Xml::option( $display, $code, $curLang === $code ); if ( $curLang === $code ) { $haveCurrentLang = true; } @@ -1000,7 +1000,7 @@ 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() ); @@ -1009,7 +1009,7 @@ } 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 ); -- To view, visit https://gerrit.wikimedia.org/r/101464 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I520d71cc9969fe823122565faea9e725f96972f4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Brian Wolff <bawolff...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits