r69855 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69854‎ | r69855 | r69856 >
Date:23:11, 24 July 2010
Author:aaron
Status:ok
Tags:
Comment:
Doc tweaks
Modified paths:
  • /trunk/extensions/FlaggedRevs/FRUserCounters.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedArticleView.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FRUserCounters.php
@@ -126,7 +126,7 @@
127127
128128 /**
129129 * Update users params array for a user on edit
130 - * @param &array $params
 130+ * @param &array $p user params
131131 * @param Article $article the article just edited
132132 * @param string $summary edit summary
133133 * @returns bool anything changed
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -182,7 +182,7 @@
183183 if ( $request->getInt( 'reviewing' ) || $request->getInt( 'rcid' ) ) {
184184 if ( $fa->isReviewable() && $fa->getTitle()->userCan( 'review' ) ) {
185185 $key = wfMemcKey( 'unreviewedPages', 'underReview', $fa->getId() );
186 - $wgMemc->set( $key, '1', 20 * 60 ); // 20 min
 186+ $wgMemc->set( $key, '1', 20 * 60 );
187187 }
188188 }
189189 return true;
Index: trunk/extensions/FlaggedRevs/FlaggedArticleView.php
@@ -1516,7 +1516,7 @@
15171517 protected function markDiffUnderReview( Revision $oldRev, Revision $newRev ) {
15181518 global $wgMemc;
15191519 $key = wfMemcKey( 'stableDiffs', 'underReview', $oldRev->getID(), $newRev->getID() );
1520 - $wgMemc->set( $key, '1', 6 * 60 ); // 10 min
 1520+ $wgMemc->set( $key, '1', 6 * 60 );
15211521 }
15221522
15231523 /**

Status & tagging log