Hi,
We should probably test if everything still functions properly now ipv6 is turned on. Things that come to mind: * Lower level python connecting logic. For eaxmple the bots at the Toolserver should now edit over ipv6, you shouldn't notice any difference * Handling of anonymous users/edits. For example the anti-vandal bot of the Dutch Wikipedia doesn't understand ipv6 so treats ipv6 as logged-in users Probably more.....
Maarten
On 6 June 2012 19:33, Maarten Dammers maarten@mdammers.nl 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&acti...
Best, Merlijn
I've actualized the ip_regex in page.py and userlib in release 10305/10306. I haven't found other dependencies.
Greetings xqt
----- Original Nachricht ---- Von: Merlijn van Deen valhallasw@arctus.nl An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 06.06.2012 20:45 Betreff: Re: [Pywikipedia-l] ipv6 and our bots
On 6 June 2012 19:33, Maarten Dammers maarten@mdammers.nl 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&acti... istory
Best, Merlijn
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org