Index: trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | ApiBase::PARAM_TYPE => 'limit', |
139 | 139 | ApiBase::PARAM_MIN => 1, |
140 | 140 | ApiBase::PARAM_MAX => ApiBase::LIMIT_BIG1, |
141 | | - ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG2 |
| 141 | + ApiBase::PARAM_MAX2 => ApiBase::LIMIT_BIG1, |
142 | 142 | ), |
143 | 143 | ); |
144 | 144 | } |
— | — | @@ -145,7 +145,7 @@ |
146 | 146 | public function getParamDescription() { |
147 | 147 | return array( |
148 | 148 | '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)', |
150 | 150 | 'userrating' => 'Whether to get the current users ratings for the specific rev/article', |
151 | 151 | 'limit' => 'Amount of pages to get the ratings for', |
152 | 152 | ); |