X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialBlankpage.php;h=e61f12b917d4475217bc2f8008b75a28adb47441;hb=b6a1f3bc774d043c69e9ed2875210049cdda9d68;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' ); + } }