MediaWiki 1.41.2
WebInstallerRestart.php
Go to the documentation of this file.
1<?php
2
4
26
30 public function execute() {
31 $r = $this->parent->request;
32 if ( $r->wasPosted() ) {
33 $really = $r->getVal( 'submit-restart' );
34 if ( $really ) {
35 $this->parent->reset();
36 }
37
38 return 'continue';
39 }
40
41 $this->startForm();
42 $s = Html::warningBox( wfMessage( 'config-help-restart' )->plain(), 'config-warning-box' );
43 $this->addHTML( $s );
44 $this->endForm( 'restart' );
45
46 return null;
47 }
48
49}
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
This class is a collection of static functions that serve two purposes:
Definition Html.php:57
Abstract class to define pages for the web installer.
endForm( $continue='continue', $back='back')