}
protected function alterForm( HTMLForm $form ) {
- $form->setWrapperLegend( false );
- $form->setHeaderText( $this->msg( 'lockdbtext' )->parseAsBlock() );
- $form->setSubmitTextMsg( 'lockbtn' );
+ $form->setWrapperLegend( false )
+ ->setHeaderText( $this->msg( 'lockdbtext' )->parseAsBlock() )
+ ->setSubmitTextMsg( 'lockbtn' );
}
public function onSubmit( array $data ) {
$out->addWikiMsg( 'lockdbsuccesstext' );
}
+ protected function getDisplayFormat() {
+ return 'ooui';
+ }
+
protected function getGroupName() {
return 'wiki';
}
}
protected function alterForm( HTMLForm $form ) {
- $form->setWrapperLegend( false );
- $form->setHeaderText( $this->msg( 'unlockdbtext' )->parseAsBlock() );
- $form->setSubmitTextMsg( 'unlockbtn' );
+ $form->setWrapperLegend( false )
+ ->setHeaderText( $this->msg( 'unlockdbtext' )->parseAsBlock() )
+ ->setSubmitTextMsg( 'unlockbtn' );
}
public function onSubmit( array $data ) {
$out->addWikiMsg( 'unlockdbsuccesstext' );
}
+ protected function getDisplayFormat() {
+ return 'ooui';
+ }
+
protected function getGroupName() {
return 'wiki';
}