/**
  * Get options to be displayed in a form
  *
  * @param FormOptions $opts
  * @return array
  */
 function getExtraOptions($opts)
 {
     $extraOpts = parent::getExtraOptions($opts);
     $opts->consumeValues(array('showlinkedto', 'target'));
     $extraOpts['target'] = array($this->msg('recentchangeslinked-page')->escaped(), Xml::input('target', 40, str_replace('_', ' ', $opts['target'])) . Xml::check('showlinkedto', $opts['showlinkedto'], array('id' => 'showlinkedto')) . ' ' . Xml::label($this->msg('recentchangeslinked-to')->text(), 'showlinkedto'));
     return $extraOpts;
 }
 /**
  * Get options to be displayed in a form
  *
  * @param FormOptions $opts
  * @return array
  */
 function getExtraOptions($opts)
 {
     $extraOpts = parent::getExtraOptions($opts);
     $opts->consumeValues(['showlinkedto', 'target']);
     $extraOpts['target'] = [$this->msg('recentchangeslinked-page')->escaped(), Xml::input('target', 40, str_replace('_', ' ', $opts['target'])) . Xml::check('showlinkedto', $opts['showlinkedto'], ['id' => 'showlinkedto']) . ' ' . Xml::label($this->msg('recentchangeslinked-to')->text(), 'showlinkedto')];
     $this->addHelpLink('Help:Related changes');
     return $extraOpts;
 }