diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /includes/specials/SpecialPageLanguage.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'includes/specials/SpecialPageLanguage.php')
-rw-r--r-- | includes/specials/SpecialPageLanguage.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/includes/specials/SpecialPageLanguage.php b/includes/specials/SpecialPageLanguage.php index 2acf23cd..79b2444e 100644 --- a/includes/specials/SpecialPageLanguage.php +++ b/includes/specials/SpecialPageLanguage.php @@ -90,10 +90,12 @@ class SpecialPageLanguage extends FormSpecialPage { return $this->showLogFragment( $this->par ); } + protected function getDisplayFormat() { + return 'vform'; + } + public function alterForm( HTMLForm $form ) { - $form->setDisplayFormat( 'vform' ); - $form->setWrapperLegend( false ); - wfRunHooks( 'LanguageSelector', array( $this->getOutput(), 'mw-languageselector' ) ); + Hooks::run( 'LanguageSelector', array( $this->getOutput(), 'mw-languageselector' ) ); } /** |