I found bot passwords, but they offer very limited user rights.
So the best thing is to try without API?
2016-09-06 0:24 GMT+02:00 Gergo Tisza <gtisza(a)wikimedia.org>rg>:
On Sun, Sep 4, 2016 at 12:50 PM, Bináris
<wikiposta(a)gmail.com> wrote:
{u'login': {u'*': u'Fetching
a token via action=login is deprecated. Use
action=query&meta=tokens&type=login instead.'}}
Then I went to
https://www.mediawiki.org/wiki/API:Login.
Here is stated something completely else:
action=clientlogin
The intro section of that page explains which action to use.
I don't think the compat branch of Pywikibot supports OAuth; it definitely
does not support action=clientlogin (which is not meant for bots). It will
work with action=login and bot passwords [1] after [2] is merged.
[1]
https://www.mediawiki.org/wiki/Manual:Bot_passwords
[2]
https://gerrit.wikimedia.org/r/#/c/306133/
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l