public function setHeaders() { parent::setHeaders(); // TODO: Switch title according to failiness. // Maybe ask $form_obj for a title so different errors can show different titles $this->getOutput()->setPageTitle(wfMessage('donate_interface-make-your-donation')); }