MediaWiki REL1_34
IncludableSpecialPage.php
Go to the documentation of this file.
1<?php
30 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}
Shortcut to construct an includable special page.
isIncludable()
Whether it's allowed to transclude the special page via {{Special:Foo/params}}.
__construct( $name, $restriction='', $listed=true, $function=false, $file='default')
Parent class for all special pages.
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition router.php:42