X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialPageLanguage.php;h=177c19bc4da9e6044872bf1693859217d95d144f;hb=38489f18c879e09c82b8b60fb346aeb14fdd340f;hp=79b2444ea9d058fdc37015187dafbb006ed6cc7e;hpb=1622cef1e2d8583b0fe98aa10c425a1594e7cc0f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialPageLanguage.php b/includes/specials/SpecialPageLanguage.php index 79b2444ea9..177c19bc4d 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 ) { @@ -194,4 +197,8 @@ class SpecialPageLanguage extends FormSpecialPage { LogEventsList::showLogExtract( $out2, 'pagelang', $title ); return $out1 . $out2; } + + protected function getGroupName() { + return 'pagetools'; + } }