/** * (non-PHPdoc) * @see includes/EnhancedChangesList#beginRecentChangesList() */ public function beginRecentChangesList() { global $wgRequest; $gwlSpeciaPageTitle = SpecialPage::getTitleFor('CollabWatchlist'); $result = Xml::openElement('form', array('class' => 'mw-collaborative-watchlist-addtag-form', 'method' => 'post', 'action' => $gwlSpeciaPageTitle->getLocalUrl(array('action' => 'setTags')))); $result .= Xml::input('redirTarget', false, $wgRequest->getFullRequestURL(), array('type' => 'hidden')); $result .= parent::beginRecentChangesList(); return $result; }
function beginRecentChangesList() { parent::beginRecentChangesList(); $dir = $this->direction ? 'ltr' : 'rtl'; return Xml::openElement('div', array('style' => "direction: {$dir}")); }