Merge "clone is not a function"
[lhc/web/wiklou.git] / includes / specials / SpecialPageLanguage.php
index 79b2444..177c19b 100644 (file)
@@ -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';
+       }
 }