Folks, do we have anything to use CU/Investigate by bot?
It's based on mwclient instead of pywikibot, but I do have some code that uses the checkuserlog API.
https://github.com/roysmith/spi-tools/blob/2080f436d6aeb7d49346241c3dfa356d4... https://github.com/roysmith/spi-tools/blob/2080f436d6aeb7d49346241c3dfa356d479b2d19/wiki_interface/wiki.py#L389
The hardest part was convincing the WMF folks to approve an OAuth consumer with CU rights. Apparently I was the first person to ever ask for that, and nobody knew if they were allowed to approve it or not!
On Feb 23, 2023, at 1:54 PM, Bináris wikiposta@gmail.com wrote:
Folks, do we have anything to use CU/Investigate by bot?
-- Bináris _______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot@lists.wikimedia.org/me... To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org
Roy Smith roy@panix.com ezt írta (időpont: 2023. febr. 23., Cs, 20:09):
It's based on mwclient instead of pywikibot, but I do have some code that uses the checkuserlog API.
Thank you! I don't know mwclient and hate dealing with login, but I will have a look.