X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/modifier.php?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBlankpage.php;h=e61f12b917d4475217bc2f8008b75a28adb47441;hb=008062c87cb4b400fcb5df0caf137bf2964a28e3;hp=29d6b96c7a3e8fab97273159d523c539ffdc6087;hpb=4ce54af762235e3509d9e733d101c328e75f94e0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialBlankpage.php b/includes/specials/SpecialBlankpage.php index 29d6b96c7a..e61f12b917 100644 --- a/includes/specials/SpecialBlankpage.php +++ b/includes/specials/SpecialBlankpage.php @@ -1,6 +1,39 @@ addWikiMsg('intentionallyblankpage'); +/** + * Special page designed for basic benchmarking of + * MediaWiki since it doesn't really do much. + * + * @ingroup SpecialPage + */ +class SpecialBlankpage extends UnlistedSpecialPage { + public function __construct() { + parent::__construct( 'Blankpage' ); + } + + public function execute( $par ) { + $this->setHeaders(); + $this->getOutput()->addWikiMsg( 'intentionallyblankpage' ); + } }