Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getToken: use new token API for MW 1.24+ sites #94

Merged
merged 4 commits into from
Apr 2, 2016

Conversation

macbre
Copy link
Owner

@macbre macbre commented Apr 2, 2016

Old API vs a new one for MW 1.24+ - as suggested in #91 by @lagleki

info:    Detected MediaWiki v1.19.24
debug:   API action: query
debug:   GET <http://nordycka.wikia.com/api.php?action=query&prop=info&intoken=edit&titles=Main_page&format=json>
info:    Detected MediaWiki v1.27.0
debug:   API action: query
debug:   GET <http://pl.wikipedia.org/w/api.php?action=query&meta=tokens&type=csrf&format=json>

@macbre macbre added this to the v0.9 milestone Apr 2, 2016
@macbre macbre merged commit 9fc1844 into devel Apr 2, 2016
@macbre macbre deleted the use-api-token-in-mw.1.24+ branch April 2, 2016 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant