Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2750916
IncludableSpecialPage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
797 B
Referenced Files
None
Subscribers
None
IncludableSpecialPage.php
View Options
<?php
/**
* @license GPL-2.0-or-later
* @file
*/
namespace
MediaWiki\SpecialPage
;
/**
* Shortcut to construct an includable special page.
*
* @ingroup SpecialPage
*/
class
IncludableSpecialPage
extends
SpecialPage
{
/**
* @stable to call
*
* @param string $name
* @param string $restriction
* @param bool $listed
* @param callable|bool $function Unused
* @param string $file Unused
*/
public
function
__construct
(
$name
,
$restriction
=
''
,
$listed
=
true
,
$function
=
false
,
$file
=
'default'
)
{
parent
::
__construct
(
$name
,
$restriction
,
$listed
,
$function
,
$file
,
true
);
}
/** @inheritDoc */
public
function
isIncludable
()
{
return
true
;
}
}
/** @deprecated class alias since 1.41 */
class_alias
(
IncludableSpecialPage
::
class
,
'IncludableSpecialPage'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 17:25 (16 h, 44 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
39/f1/47bb17cc4794664c2d26fe25f190
Default Alt Text
IncludableSpecialPage.php (797 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment