r105942 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105941‎ | r105942 | r105943 >
Date:22:24, 12 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Typos, ffs. r105939, r105940
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)
  • /trunk/extensions/CodeReview/backend/RepoStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -250,9 +250,9 @@
251251 /**
252252 * Key is repository name. Value is an array of key value pairs of the paths to get new list for
253253 *
254 - * $wgCodeReviewnewPerPath = array( 'RepoName' => array( '/path/to/use', '/another/path/to/use' ) )
 254+ * $wgCodeReviewNewPerPath = array( 'RepoName' => array( '/path/to/use', '/another/path/to/use' ) )
255255 */
256 -$wgCodeReviewnewPerPath = array();
 256+$wgCodeReviewNewPerPath = array();
257257
258258 /**
259259 * UDP comment and status changes notification
Index: trunk/extensions/CodeReview/backend/RepoStats.php
@@ -88,9 +88,9 @@
8989 }
9090
9191 $this->newPerPath = array();
92 - global $wgCodeRevieNewPerPath;
93 - if ( isset( $wgCodeRevieNewPerPath[ $repoName ] ) ) {
94 - foreach( $wgCodeRevieNewPerPath[ $repoName ] as $path ) {
 92+ global $wgCodeReviewNewPerPath;
 93+ if ( isset( $wgCodeReviewNewPerPath[ $repoName ] ) ) {
 94+ foreach( $wgCodeReviewNewPerPath[ $repoName ] as $path ) {
9595 $this->newPerPath[$path] = $this->getPathNews( $path );
9696 }
9797 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105939List of new revisions per pathreedy22:17, 12 December 2011
r105940Followup r105939, didn't press savereedy22:20, 12 December 2011

Status & tagging log