MediaWiki
master
WebInstallerRestart.php
Go to the documentation of this file.
1
<?php
2
23
namespace
MediaWiki\Installer
;
24
25
use
MediaWiki\Html\Html
;
26
27
class
WebInstallerRestart
extends
WebInstallerPage
{
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'
)->parse(),
'config-warning-box'
);
45
$this->
addHTML
( $s );
46
$this->
endForm
(
'restart'
);
47
48
return
null
;
49
}
50
51
}
wfMessage
wfMessage( $key,... $params)
This is the function for getting translated interface messages.
Definition
GlobalFunctions.php:851
MediaWiki\Html\Html
This class is a collection of static functions that serve two purposes:
Definition
Html.php:56
MediaWiki\Installer\WebInstallerPage
Abstract class to define pages for the web installer.
Definition
WebInstallerPage.php:34
MediaWiki\Installer\WebInstallerPage\endForm
endForm( $continue='continue', $back='back')
Definition
WebInstallerPage.php:90
MediaWiki\Installer\WebInstallerPage\addHTML
addHTML( $html)
Definition
WebInstallerPage.php:69
MediaWiki\Installer\WebInstallerPage\startForm
startForm()
Definition
WebInstallerPage.php:73
MediaWiki\Installer\WebInstallerRestart
Definition
WebInstallerRestart.php:27
MediaWiki\Installer\WebInstallerRestart\execute
execute()
Definition
WebInstallerRestart.php:32
MediaWiki\Installer
Definition
CliInstaller.php:23
includes
installer
WebInstallerRestart.php
Generated on Sun Dec 8 2024 06:24:13 for MediaWiki by
1.10.0