Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 11 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
TalkpageHistoryView | |
0.00% |
0 / 11 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
show | |
0.00% |
0 / 8 |
|
0.00% |
0 / 1 |
2 | |||
customizeNavigation | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | class TalkpageHistoryView extends TalkpageView { |
4 | public function show() { |
5 | $talkpageTitle = $this->article->getTitle(); |
6 | $talkpageLink = $this->linkRenderer->makeLink( $talkpageTitle ); |
7 | |
8 | $this->output->setPageTitleMsg( wfMessage( 'lqt-talkpage-history-title' ) ); |
9 | $this->output->setSubtitle( wfMessage( 'lqt-talkpage-history-subtitle' ) |
10 | ->rawParams( $talkpageLink )->parse() ); |
11 | |
12 | $pager = new TalkpageHistoryPager( $this, $this->article ); |
13 | |
14 | $this->output->addParserOutputContent( $pager->getFullOutput() ); |
15 | |
16 | return false; |
17 | } |
18 | |
19 | public function customizeNavigation( $skin, &$links ) { |
20 | TalkpageView::customizeTalkpageNavigation( $skin, $links, $this ); |
21 | $links['views']['history']['class'] = 'selected'; |
22 | $links['views']['view']['class'] = ''; |
23 | } |
24 | } |