コード例 #1
0
 function show()
 {
     $talkpageTitle = $this->article->getTitle();
     $talkpageLink = Linker::link($talkpageTitle);
     $this->output->setPageTitle(wfMessage('lqt-talkpage-history-title'));
     $this->output->setSubtitle(wfMessage('lqt-talkpage-history-subtitle')->rawParams($talkpageLink)->parse());
     $pager = new TalkpageHistoryPager($this, $this->article);
     $html = $pager->getNavigationBar() . $pager->getBody() . $pager->getNavigationBar();
     $this->output->addHTML($html);
     return false;
 }
コード例 #2
0
 function show()
 {
     $linker = class_exists('DummyLinker') ? new DummyLinker() : new Linker();
     $talkpageTitle = $this->article->getTitle();
     $talkpageLink = $linker->link($talkpageTitle);
     $this->output->setPageTitle(wfMsg('lqt-talkpage-history-title'));
     $this->output->setSubtitle(wfMsgExt('lqt-talkpage-history-subtitle', array('replaceafter', 'parseinline'), $talkpageLink));
     $pager = new TalkpageHistoryPager($this, $this->article);
     $html = $pager->getNavigationBar() . $pager->getBody() . $pager->getNavigationBar();
     $this->output->addHTML($html);
     return false;
 }