MediaWiki  master
IncludableSpecialPage.php
Go to the documentation of this file.
1 <?php
30  public function __construct(
31  $name, $restriction = '', $listed = true, $function = false, $file = 'default'
32  ) {
33  parent::__construct( $name, $restriction, $listed, $function, $file, true );
34  }
35 
36  public function isIncludable() {
37  return true;
38  }
39 }
IncludableSpecialPage\isIncludable
isIncludable()
Whether it's allowed to transclude the special page via {{Special:Foo/params}}.
Definition: IncludableSpecialPage.php:36
$file
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
IncludableSpecialPage
Shortcut to construct an includable special page.
Definition: IncludableSpecialPage.php:29
IncludableSpecialPage\__construct
__construct( $name, $restriction='', $listed=true, $function=false, $file='default')
Definition: IncludableSpecialPage.php:30
SpecialPage
Parent class for all special pages.
Definition: SpecialPage.php:39