Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4075372
WebInstallerDocument.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
759 B
Referenced Files
None
Subscribers
None
WebInstallerDocument.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
* @ingroup Installer
*/
namespace
MediaWiki\Installer
;
abstract
class
WebInstallerDocument
extends
WebInstallerPage
{
/**
* @return string
*/
abstract
protected
function
getFileName
();
/** @inheritDoc */
public
function
execute
()
{
$text
=
$this
->
getFileContents
();
$text
=
InstallDocFormatter
::
format
(
$text
);
$this
->
parent
->
output
->
addWikiTextAsInterface
(
$text
);
$this
->
startForm
();
$this
->
endForm
(
false
);
return
''
;
}
/**
* @return string
*/
public
function
getFileContents
()
{
$file
=
__DIR__
.
'/../../'
.
$this
->
getFileName
();
if
(
!
file_exists
(
$file
)
)
{
return
wfMessage
(
'config-nofile'
,
$file
)->
plain
();
}
return
file_get_contents
(
$file
);
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 18:23 (10 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
87/c3/c8aed781e83f4018411f09a61150
Default Alt Text
WebInstallerDocument.php (759 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment