MediaWiki
REL1_40
WebInstallerRestart.php
Go to the documentation of this file.
1
<?php
2
3
use
MediaWiki\Html\Html
;
4
25
class
WebInstallerRestart
extends
WebInstallerPage
{
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
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:893
MediaWiki\Html\Html
This class is a collection of static functions that serve two purposes:
Definition
Html.php:55
WebInstallerPage
Abstract class to define pages for the web installer.
Definition
WebInstallerPage.php:32
WebInstallerPage\startForm
startForm()
Definition
WebInstallerPage.php:71
WebInstallerPage\endForm
endForm( $continue='continue', $back='back')
Definition
WebInstallerPage.php:88
WebInstallerPage\addHTML
addHTML( $html)
Definition
WebInstallerPage.php:67
WebInstallerRestart
Definition
WebInstallerRestart.php:25
WebInstallerRestart\execute
execute()
Definition
WebInstallerRestart.php:30
includes
installer
WebInstallerRestart.php
Generated on Thu Jun 27 2024 14:02:58 for MediaWiki by
1.10.0