Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 5 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
CodeRevisionTagView | |
0.00% |
0 / 5 |
|
0.00% |
0 / 2 |
12 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 4 |
|
0.00% |
0 / 1 |
6 | |||
getPager | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | |
3 | namespace MediaWiki\Extension\CodeReview\UI; |
4 | |
5 | class CodeRevisionTagView extends CodeRevisionListView { |
6 | public function __construct( $repo, $tag ) { |
7 | $this->mTag = $tag; |
8 | |
9 | if ( $this->mTag ) { |
10 | $this->filters[] = wfMessage( 'code-revfilter-ct_tag', $this->mTag )->text(); |
11 | } |
12 | parent::__construct( $repo ); |
13 | } |
14 | |
15 | public function getPager() { |
16 | return new SvnRevTagTablePager( $this, $this->mTag ); |
17 | } |
18 | } |