MediaWiki  master
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 }
if(PHP_SAPI !='cli-server') if(!isset( $_SERVER['SCRIPT_FILENAME'])) $file
Item class for a filearchive table row.
Definition: router.php:42
Shortcut to construct an includable special page.
__construct( $name, $restriction='', $listed=true, $function=false, $file='default')