function __construct($mode, $tag, $performer = null, $title = '') { # Create a LogPager item to get the results and a LogEventsList item to format them... $loglist = new LogEventsList($this->getContext(), null, 0); /* $extraConds = $this->limitRevTag( $tag ); $extraConds = array_merge( $extraConds, $this->limitByMode( $mode ) ); */ $extraConds = $this->limitByMode($mode); parent::__construct($loglist, array('tag'), $performer, $title, null, $extraConds); }
function __construct() { $loglist = new LogEventsList($this->getContext(), null, 0); $extraConds = ['log_namespace' => NS_WR_DRAFTS]; parent::__construct($loglist, ['move'], '', '', '', $extraConds); }