public function checkParameters($par) { if (!parent::checkParameters($par)) { return false; } $dest = $this->request->getVal('dest'); if (!$dest) { $this->getOutput()->addWikiMsg('lqt_threadrequired'); return false; } $thread = Threads::withId($dest); if (!$thread) { $this->getOutput()->addWikiMsg('lqt_nosuchthread'); return false; } $this->mDestThread = $thread; return true; }