r72053 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72052‎ | r72053 | r72054 >
Date:21:27, 31 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
Comment and param setting tweak
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php
@@ -137,7 +137,7 @@
138138 ApiBase::PARAM_TYPE => 'limit',
139139 ApiBase::PARAM_MIN => 1,
140140 ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1,
141 - ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2
 141+ ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG1,
142142 ),
143143 );
144144 }
@@ -145,7 +145,7 @@
146146 public function getParamDescription() {
147147 return array(
148148 'pageid' => 'Page ID to get assessments for',
149 - 'revid' => 'Specific revision to get (used in conjunction with user param, otherwise ignored)',
 149+ 'revid' => 'Specific revision to get (used in conjunction with userrating param, otherwise ignored. Needed for stale calculation)',
150150 'userrating' => 'Whether to get the current users ratings for the specific rev/article',
151151 'limit' => 'Amount of pages to get the ratings for',
152152 );

Status & tagging log