}
protected function postText() {
- return $this->showLogFragment( $this->par );
+ if ( $this->par ) {
+ return $this->showLogFragment( $this->par );
+ }
+ return '';
+ }
+
+ protected function getDisplayFormat() {
+ return 'ooui';
}
public function alterForm( HTMLForm $form ) {
- $form->setDisplayFormat( 'vform' );
- $form->setWrapperLegend( false );
Hooks::run( 'LanguageSelector', array( $this->getOutput(), 'mw-languageselector' ) );
}
LogEventsList::showLogExtract( $out2, 'pagelang', $title );
return $out1 . $out2;
}
+
+ protected function getGroupName() {
+ return 'pagetools';
+ }
}