/**
  * Get HTML of notices shown above the editor and use show it as custom dismissable notice
  */
 protected function showHeader()
 {
     $this->app->wf->ProfileIn(__METHOD__);
     $oldHtml = $this->out->getHTML();
     $this->out->clearHTML();
     $bridge = WF::build('EditPageOutputBridge', array($this, $this->mCoreEditNotices));
     /* @var $bridge EditPageOutputBridge */
     parent::showHeader();
     // handle notices related to edit undo
     if ($this->editFormPageTop != '') {
         $bridge->getMockObject()->addHTML($this->editFormPageTop);
         $this->editFormPageTop = '';
     }
     $bridge->close();
     // restore state of output
     $this->out->clearHTML();
     $this->out->addHTML($oldHtml);
     $this->app->wf->ProfileOut(__METHOD__);
 }
 /**
  * Get HTML of notices shown above the editor and use show it as custom dismissable notice
  */
 protected function showHeader()
 {
     wfProfileIn(__METHOD__);
     $oldHtml = $this->out->getHTML();
     $this->out->clearHTML();
     $bridge = new EditPageOutputBridge($this, $this->mCoreEditNotices);
     parent::showHeader();
     // handle notices related to edit undo
     if ($this->editFormPageTop != '') {
         $bridge->getMockObject()->addHTML($this->editFormPageTop);
         $this->editFormPageTop = '';
     }
     $bridge->close();
     // restore state of output
     $this->out->clearHTML();
     $this->out->addHTML($oldHtml);
     wfProfileOut(__METHOD__);
 }