MediaWiki
REL1_37
WebInstallerRestart.php
Go to the documentation of this file.
1
<?php
22
class
WebInstallerRestart
extends
WebInstallerPage
{
23
27
public
function
execute
() {
28
$r = $this->parent->request;
29
if
( $r->wasPosted() ) {
30
$really = $r->getVal(
'submit-restart'
);
31
if
( $really ) {
32
$this->parent->reset();
33
}
34
35
return
'continue'
;
36
}
37
38
$this->
startForm
();
39
$s
= Html::warningBox(
wfMessage
(
'config-help-restart'
)->plain(),
'config-warning-box'
);
40
$this->
addHTML
(
$s
);
41
$this->
endForm
(
'restart'
);
42
43
return
null
;
44
}
45
46
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:1182
WebInstallerPage
Abstract class to define pages for the web installer.
Definition
WebInstallerPage.php:30
WebInstallerPage\startForm
startForm()
Definition
WebInstallerPage.php:69
WebInstallerPage\endForm
endForm( $continue='continue', $back='back')
Definition
WebInstallerPage.php:86
WebInstallerPage\addHTML
addHTML( $html)
Definition
WebInstallerPage.php:65
WebInstallerRestart
Definition
WebInstallerRestart.php:22
WebInstallerRestart\execute
execute()
Definition
WebInstallerRestart.php:27
$s
foreach( $mmfl['setupFiles'] as $fileName) if($queue) if(empty( $mmfl['quiet'])) $s
Definition
mergeMessageFileList.php:206
includes
installer
WebInstallerRestart.php
Generated on Fri Apr 5 2024 23:40:22 for MediaWiki by
1.9.8