API rollback broken
Closed, ResolvedPublic

Description

Author: alejrb

Description:
As far as I can tell, the API rollback is broken on current the deployment version. The API simply returns 'badtoken' to all requests.

No encoding has changed, and this affects JavaScript AJAX rollback scripts, huggle, the anti-vandalism bots which have stopped reverting, and so on.


Version: unspecified
Severity: normal

bzimport added a project: MediaWiki-API.Via ConduitNov 21 2014, 11:00 PM
bzimport set Reference to bz23117.
bzimport created this task.Via LegacyApr 9 2010, 4:40 PM
bzimport added a comment.Via ConduitApr 9 2010, 6:00 PM

matthew.britton wrote:

I've patched Huggle to use UI rollback (which still works) so that's OK for now.

Initially I figured it was mis-parsing the token, getting logged out, not sending the cookies properly or one of the other usual causes of 'badtoken' errors, but I also haven't been able to get API rollback working.

MZMcBride added a comment.Via ConduitApr 9 2010, 6:03 PM

An hour or so ago:

<logmsgbot> !log catrope synchronized php-1.5/includes/api/ApiRollback.php 'Live hack for bug 23117'

Catrope added a comment.Via ConduitApr 9 2010, 6:05 PM

I applied a live hack on the servers, does that fix it?

bzimport added a comment.Via ConduitApr 9 2010, 6:20 PM

philip_trueman wrote:

It works for me - and apparently also for ClueBot. Many thanks.

bzimport added a comment.Via ConduitApr 9 2010, 6:52 PM

alejrb wrote:

Yep, that fixed it. Thanks.

Reedy added a comment.Via ConduitApr 9 2010, 8:07 PM

And properly fixed on svn head in r64826

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.