@steko what's the problem, that ministry own many others btw, if they edit wikipedia you'll catch them anyway. At first look it doesn't seem locked down...
@edsu sorry for saying it here but if you check TW API Status you'll get notice that since 2 weeks API about user stream (I think API calls about user search goes through it) you'll get notice it's under total disruption
Stefano Costa
@steko
@remagio I know but so far I've been able to collect only one IP range 151.12.58.0/24
btw that could be merged right into @ItaGovEdits perhaps?
Ed Summers
@edsu
@remagio ok you are all set w/ access to the anon project
Ed Summers
@edsu
basically just ssh to tools-dev.wmflabs.org
and then type: become anon
which should switch you into the anon project environment
then read the README
which should provide instructions on how to generate the access key for your twitter account, add it to the config, and restart the bot
Renato Gabriele
@remagio
sure @steko, thx. I have yet that IP but with all Italian's ministers IPs (;-)). I didn't included Ministry with @ItaGovEdits b/c they did an enormous history of updates. With @jarib we created a store with the entire history of updates and when that too will be ready we could open all accounts. I have created a specific TW additional accounts one for ministry and one for regional governments.
@edsu@steko I'll give a try, I was waiting for wikipedia anon instance, to understand if open up all other governments anon yet created or merge them with your wmf lab project. I'll keep you updated
Ed Summers
@edsu
@remagio ok
sjwiki
@sjwiki
Hi there, I was wondering if anon can be adapted to tweet all edits regardless of IP address to twitter? :)
Or would I be better off using some other bot?
(Obviously not to be used on Wikipedia)
Ed Summers
@edsu
@sjwiki anon uses a library called wikichanges to monitor the recent changes for all major language wikipedias ; so you could use that if you wanted
@sjwiki unfortunately, I doubt Twitter would let you post all edits, you'd likely get blocked
someone here who can strace their instance and check if that’s normal?
it’s a bit suspicous to me that there are noe read() calls in there..
Renato Gabriele
@remagio
let me check @jarib, I found since a couple of week that often I have to relaunch the process for something like that.
Jari Bakken
@jarib
i did a restart. it’s calling read() for a while, but it’s not doing that anymore
tcpdump also shows no irc traffic
well, besides PING/PONG commands
hm. i can’t see my bot in the #en.wikipedia channel
perhaps it’s been kicked
Jari Bakken
@jarib
actually, the PING/PONG could be from another client..
Renato Gabriele
@remagio
or some maintenance scripts kicked out bots on irc channels
not sure they like too much anon bots connected, imho
Ed Summers
@edsu
I haven't been kicked yet. Make sure you are running latest anon and double check you've got latest dependencies by doing a rm -rf node_modules and npm install. There was a problem a while back with the wikichanges module which was connecting too quickly to too many channels which was causing it to get kicked.
Jari Bakken
@jarib
ah
sounds plausible. i’ll try that
shouldn’t anon crash or at least log that it has been kicked?
Ed Summers
@edsu
it wasn't crashing for me
edsu @edsu crosses fingers
Jari Bakken
@jarib
that’s my point. if it’s kicked, it should crash or at least let the user now
Ed Summers
@edsu
definitely should, agreed
Jari Bakken
@jarib
seems to be working better after i removed node_modules