MediaWiki  master
Go to the documentation of this file.
1 <?php
31  public function __construct() {
32  parent::__construct( 'Blankpage' );
33  }
35  public function execute( $par ) {
36  $this->setHeaders();
37  $this->getOutput()->addWikiMsg( 'intentionallyblankpage' );
38  }
39 }
Special page designed for basic benchmarking of MediaWiki since it doesn't really do much.
execute( $par)
Default execute method Checks user permissions.
Sets headers - this should be called from the execute() method of all derived classes!
Get the OutputPage being used for this instance.
Shortcut to construct a special page which is unlisted by default.