Last modified: 2014-08-29 21:41:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72066, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70066 - Update API gem to handle action=tokens deprecation
Update API gem to handle action=tokens deprecation
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Quality Assurance (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Dan Duvall
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-26 22:27 UTC by Chris McMahon
Modified: 2014-08-29 21:41 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Chris McMahon 2014-08-26 22:27:16 UTC
As of 26 August all tests using the API are failing: 

13:42 chrismcmahon: hmm, breaking change to the API?  {"tokens"=>{"*"=>"action=tokens has been deprecated. Please use action=query&meta=tokens instead."}}
13:42 legoktm: Deskana: https://gerrit.wikimedia.org/r/#/c/144644/
13:42 legoktm: chrismcmahon: yes there was an announcement
13:43 legoktm: nothing is broken though
13:43 legoktm: chrismcmahon: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2014-August/000067.html
13:43 chrismcmahon: thanks legoktm that's ummm annoying
13:43 legoktm: why?
13:45 chrismcmahon: I've never heard of Mediawiki-api-announce before, oh well.
13:45 legoktm: there's also mediawiki-api too
13:45 chrismcmahon: nor suspected that I should subscribe to it had I known it existed.  anyway, I can fix the issue
13:46 legoktm: the list is listed at https://www.mediawiki.org/wiki/API:Main_page#Useful_links, please add links to it in other places too :)
Comment 1 Dan Duvall 2014-08-26 22:59:25 UTC
First things first, the API client should be refactored to not fail upon a deprecation warning. We can then look into how to best implement the new meta=tokens query (and what condition to switch on; AFAICT, the API endpoint is not versioned).
Comment 2 Gerrit Notification Bot 2014-08-26 23:53:13 UTC
Change 156480 had a related patch set uploaded by Dduvall:
Fixed token error handling

https://gerrit.wikimedia.org/r/156480
Comment 3 Gerrit Notification Bot 2014-08-27 00:02:47 UTC
Change 156480 merged by jenkins-bot:
Fixed token error handling

https://gerrit.wikimedia.org/r/156480

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links