MediaWiki
master
UnlistedSpecialPage.php
Go to the documentation of this file.
1
<?php
24
namespace
MediaWiki\SpecialPage
;
25
33
class
UnlistedSpecialPage
extends
SpecialPage
{
34
43
public
function
__construct
( $name, $restriction =
''
, $function =
false
, $file =
'default'
) {
44
parent::__construct( $name, $restriction,
false
, $function, $file );
45
}
46
47
public
function
isListed
() {
48
return
false
;
49
}
50
}
51
53
class_alias( UnlistedSpecialPage::class,
'UnlistedSpecialPage'
);
MediaWiki\SpecialPage\SpecialPage
Parent class for all special pages.
Definition
SpecialPage.php:66
MediaWiki\SpecialPage\UnlistedSpecialPage
Shortcut to construct a special page which is unlisted by default.
Definition
UnlistedSpecialPage.php:33
MediaWiki\SpecialPage\UnlistedSpecialPage\__construct
__construct( $name, $restriction='', $function=false, $file='default')
Definition
UnlistedSpecialPage.php:43
MediaWiki\SpecialPage\UnlistedSpecialPage\isListed
isListed()
Whether this special page is listed in Special:SpecialPages.
Definition
UnlistedSpecialPage.php:47
MediaWiki\SpecialPage
Definition
AuthManagerSpecialPage.php:3
includes
specialpage
UnlistedSpecialPage.php
Generated on Sun Sep 8 2024 05:24:56 for MediaWiki by
1.10.0