Index: trunk/extensions/CodeReview/ui/CodeTagListView.php |
— | — | @@ -9,10 +9,9 @@ |
10 | 10 | |
11 | 11 | function execute() { |
12 | 12 | global $wgOut; |
13 | | - $name = $this->mRepo->getName(); |
14 | 13 | $list = $this->mRepo->getTagList(); |
15 | 14 | |
16 | | - if( 0 === count( $list ) ) { |
| 15 | + if( count( $list ) === 0 ) { |
17 | 16 | $wgOut->addWikiMsg( 'code-tags-no-tags' ); |
18 | 17 | } else { |
19 | 18 | # Show a cloud made of tags |
Index: trunk/extensions/CodeReview/ui/WordCloud.php |
— | — | @@ -119,7 +119,7 @@ |
120 | 120 | if( count( $keys ) && is_array( $keys ) ) { |
121 | 121 | $tmpArray = $this->wordsArray; |
122 | 122 | $this->wordsArray = array(); |
123 | | - foreach( $keys as $key => $value ) { |
| 123 | + foreach( $keys as $value ) { |
124 | 124 | $this->wordsArray[$value] = $tmpArray[$value]; |
125 | 125 | } |
126 | 126 | } |
Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -3,6 +3,9 @@ |
4 | 4 | // Special:Code/MediaWiki |
5 | 5 | class CodeRevisionListView extends CodeView { |
6 | 6 | public $mRepo, $mPath; |
| 7 | + |
| 8 | + private $batchForm; |
| 9 | + |
7 | 10 | function __construct( $repoName ) { |
8 | 11 | global $wgRequest; |
9 | 12 | parent::__construct(); |