MediaWiki master
UnlistedSpecialPage.php
Go to the documentation of this file.
1<?php
9
10namespace MediaWiki\SpecialPage;
11
19abstract class UnlistedSpecialPage extends SpecialPage {
24 public function isListed() {
25 return false;
26 }
27}
28
29// @codeCoverageIgnoreStart
31class_alias( UnlistedSpecialPage::class, 'UnlistedSpecialPage' );
32// @codeCoverageIgnoreEnd
Parent class for all special pages.
Shortcut to construct a special page which is unlisted by default.
isListed()
Whether this special page is listed in Special:SpecialPages.to override 1.3 (r3583) bool