MediaWiki REL1_32
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.