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 }
Shortcut to construct a special page which is unlisted by default.
getOutput()
Get the OutputPage being used for this instance.
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes! ...
Special page designed for basic benchmarking of MediaWiki since it doesn&#39;t really do much...