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