MediaWiki master
WebInstallerRestart.php
Go to the documentation of this file.
1<?php
2
23namespace MediaWiki\Installer;
24
26
28
32 public function execute() {
33 $r = $this->parent->request;
34 if ( $r->wasPosted() ) {
35 $really = $r->getVal( 'submit-restart' );
36 if ( $really ) {
37 $this->parent->reset();
38 }
39
40 return 'continue';
41 }
42
43 $this->startForm();
44 $s = Html::warningBox( wfMessage( 'config-help-restart' )->plain(), 'config-warning-box' );
45 $this->addHTML( $s );
46 $this->endForm( 'restart' );
47
48 return null;
49 }
50
51}
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:56
Abstract class to define pages for the web installer.
endForm( $continue='continue', $back='back')