On 6 June 2012 19:33, Maarten Dammers <[email protected]> wrote:
> * Lower level python connecting logic. For eaxmple the bots at the
> Toolserver should now edit over ipv6, you shouldn't notice any difference
A quick check confirms that this should 'just work':
>>> query.GetData({'action': 'query', 'meta': 'userinfo'})
{u'query': {u'userinfo': {u'id': 59798, u'name':
u'Valhallasw-toolserver-botje'}}}
>>> query.GetData({'action': 'logout'})
[]
>>> query.GetData({'action': 'query', 'meta': 'userinfo'})
{u'query': {u'userinfo': {u'anon': u'', u'id': 0, u'name':
u'2620:0:862:101:0:0:2:4'}}}
as well as this test edit (although I had to prevent the bot from
logging in somehow ;-))
http://nl.wikipedia.org/w/index.php?title=Gebruiker:Valhallasw/ipv6&action=history
Best,
Merlijn
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l