/**
  * Do not render secondary actions on the user page
  */
 protected function getSecondaryActionsHtml()
 {
     // no secondary actions on the user page
     if (!$this->getSkin()->isUserPage) {
         return parent::getSecondaryActionsHtml();
     }
 }
 /**
  * Get page secondary actions
  */
 protected function getSecondaryActions()
 {
     $donationUrl = $this->getSkin()->getMFConfig()->get('MFDonationUrl');
     $result = parent::getSecondaryActions();
     if ($donationUrl && !$this->isSpecialPage) {
         $result['donation'] = array('attributes' => array('href' => $donationUrl), 'label' => wfMessage('mobile-frontend-donate-button-label')->text());
     }
     return $result;
 }
 /**
  * In addition to the main menu, this function renders the search form on top of the menu
  * @inheritdoc
  */
 protected function getMainMenuHtml($data)
 {
     $templateParser = new TemplateParser(__DIR__);
     $args = array('searchForm' => $this->getSearchForm($data));
     return $templateParser->processTemplate('searchForm', $args) . parent::getMainMenuHtml($data);
 }