r72047 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72046‎ | r72047 | r72048 >
Date:20:50, 31 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
Can only where on the revid, if we have one... r72044
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php
@@ -90,7 +90,8 @@
9191 }
9292
9393 //Only can actually be "stale" if the user has rated the article before
94 - if ( $params['userrating'] && $userRatedArticle ) {
 94+ //We need a target revision to be able to calculate "stale" against
 95+ if ( $params['userrating'] && $userRatedArticle && $params['revid'] ) {
9596 $this->resetQueryParams();
9697
9798 $this->addTables( 'revision' );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72044Add "stale" rating notification to ArticleAssessmentPilotreedy20:20, 31 August 2010

Status & tagging log