public function __construct() {
parent::__construct( 'Blankpage' );
}
+
public function execute( $par ) {
- global $wgOut;
$this->setHeaders();
- $wgOut->addWikiMsg('intentionallyblankpage');
+ $this->getOutput()->addWikiMsg( 'intentionallyblankpage' );
}
}