MediaWiki master
WebInstallerRestart.php
Go to the documentation of this file.
1<?php
2
9namespace MediaWiki\Installer;
10
12
14
18 public function execute() {
19 $r = $this->parent->request;
20 if ( $r->wasPosted() ) {
21 $really = $r->getVal( 'submit-restart' );
22 if ( $really ) {
23 $this->parent->reset();
24 }
25
26 return 'continue';
27 }
28
29 $this->startForm();
30 $s = Html::warningBox( wfMessage( 'config-help-restart' )->parse(), 'config-warning-box' );
31 $this->addHTML( $s );
32 $this->endForm( 'restart' );
33
34 return null;
35 }
36
37}
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:43
Abstract class to define pages for the web installer.
endForm( $continue='continue', $back='back')