MediaWiki  master
UnlistedSpecialPage.php
Go to the documentation of this file.
1 <?php
30  public function __construct( $name, $restriction = '', $function = false, $file = 'default' ) {
31  parent::__construct( $name, $restriction, false, $function, $file );
32  }
33 
34  public function isListed() {
35  return false;
36  }
37 }
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 a special page which is unlisted by default.
__construct( $name, $restriction='', $function=false, $file='default')