r105495 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105494‎ | r105495 | r105496 >
Date:23:59, 7 December 2011
Author:gregchiasson
Status:ok
Tags:
Comment:
AFTv5 OK, turns out I was too hasty removing anontoken. Rolling back part of r105460, and re-enabling that.
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php (modified) (history)
  • /trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js
@@ -2207,6 +2207,7 @@
22082208 var data = $.extend( formdata, {
22092209 'action': 'articlefeedbackv5',
22102210 'format': 'json',
 2211+ 'anontoken': $.articleFeedbackv5.userId,
22112212 'pageid': $.articleFeedbackv5.pageId,
22122213 'revid': $.articleFeedbackv5.revisionId,
22132214 'bucket': $.articleFeedbackv5.bucketId,
Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php
@@ -450,6 +450,7 @@
451451 ApiBase::PARAM_TYPE => 'integer',
452452 ApiBase::PARAM_REQUIRED => true,
453453 ),
 454+ 'anontoken' => null,
454455 'bucket' => array(
455456 ApiBase::PARAM_TYPE => 'integer',
456457 ApiBase::PARAM_REQUIRED => true,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105460AFTv5 - adding indices to tables, removing unused anontoken param, caching re...gregchiasson21:14, 7 December 2011

Status & tagging log