X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPageLanguage.php;h=6756f274018faf9156acae13df372047e0e0c74e;hp=79b2444ea9d058fdc37015187dafbb006ed6cc7e;hb=b51076a84446d157bed511246450e70d26e0f945;hpb=29790fbc0492428db6fcc3c3b9db09ea14ecabb6 diff --git a/includes/specials/SpecialPageLanguage.php b/includes/specials/SpecialPageLanguage.php index 79b2444ea9..6756f27401 100644 --- a/includes/specials/SpecialPageLanguage.php +++ b/includes/specials/SpecialPageLanguage.php @@ -87,11 +87,14 @@ class SpecialPageLanguage extends FormSpecialPage { } protected function postText() { - return $this->showLogFragment( $this->par ); + if ( $this->par ) { + return $this->showLogFragment( $this->par ); + } + return ''; } protected function getDisplayFormat() { - return 'vform'; + return 'ooui'; } public function alterForm( HTMLForm $form ) {