/**
  *
  *
  * @since 0.1
  *
  * @param Contest $contest
  */
 protected function showMailFunctionality(Contest $contest)
 {
     $out = $this->getOutput();
     $out->addHTML(Html::element('h3', array(), wfMsg('contest-contest-reminder-mail')));
     $out->addWikiMsg('contest-contest-reminder-page', $contest->getField('reminder_email'));
     $out->addHTML(Html::element('button', array('id' => 'send-reminder', 'data-token' => $this->getUser()->editToken(), 'data-contest-id' => $contest->getId(), 'data-reminder-subject' => wfMsgExt('contest-email-reminder-title', 'parsemag', $contest->getDaysLeft())), wfMsg('contest-contest-send-reminder')));
     $out->addHTML(Html::rawElement('div', array('id' => 'reminder-content', 'style' => 'display:none'), ContestUtils::getParsedArticleContent($contest->getField('reminder_email'))));
 }