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