Jump to content

Wikipedia:Bots/Requests for approval/DatBot 3

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DatGuy (talk | contribs) at 06:45, 7 November 2016 (reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Operator: DatGuy (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 15:45, Friday, November 4, 2016 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python

Source code available: [GitHub]

Function overview: Reports users who have either tripped 5 filters quickly in a list, a filter that is in an "immediate report" list, or a very suspicious username-related filter.

Links to relevant discussions (where appropriate):

Edit period(s): Continuous

Estimated number of pages affected: 2

Exclusion compliant (Yes/No): No

Already has a bot flag (Yes/No): Yes

Function details: This task was previously done by Mr.Z-bot (talk · contribs). However, Z-bot and Z-man are currently inactive. I have used the previous code, but added a section for username-related filters that should be reported to UAA. If/once this task is approved (for trial), I will create User:DatBot/filters.js. It will contain
immediate=
vandalism=
UAAreport=
When the bot will report, it will contain the filter in the "reason for reporting" box. More details can be found at this BRFA.

Discussion

  • @Xaosflux:  Done at a js per your comments and the fact that there are barely any non-admin EFMs. The non-admin EFMs I do know I'm sure can email an administrator. Also, I believe that Mr.Z-man thought of a hacky workaround, so that even if the filter is private it will still be able to access it? Either that or the filters haven't always been private. Dat GuyTalkContribs 11:01, 6 November 2016 (UTC)[reply]
Almost half of these filters (including all of the 'immediate' ones are private filters - do you expect to actually be able to have your bot use these? — xaosflux Talk 16:23, 6 November 2016 (UTC)[reply]
I believe so. Z-bot never had EFM, but it was still able to perform. See also [1]. I have no idea if in August the filter was private, but I believe that the code uses a workaround. There is also a library called "wikitools," so perhaps that was used as a workaround. Dat GuyTalkContribs 16:42, 6 November 2016 (UTC)[reply]
Approved for trial (150 edits or 30 days, userspace only). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Can you by start making some private-trials (report to a bot subpage), verify if you are able to do what you expect - try configuring it for only the private filters and see if it actual works. — xaosflux Talk 17:15, 6 November 2016 (UTC)[reply]
Going a bit out of your request. I've jsub'd it on Tool Labs. I want to see if everything works properly first, as I'm not sure if 1. The import modules still work and 2. If I configured the import modules properly. If it works for the night then I will change it so that it will be only private filters. Cheers, Dat GuyTalkContribs 19:15, 6 November 2016 (UTC)[reply]
Dat Guy One thing I want to see out of an eventual trial is you actually posting the reports, but to user space for review. — xaosflux Talk 02:31, 7 November 2016 (UTC)[reply]
What do you mean? What I am trying to do now is post everything to the DatGuy sandbox. I've encountered a mystery error over the night, but restarted the job now. It was the only error, so if it is fixed it should work. Dat GuyTalkContribs 06:45, 7 November 2016 (UTC)[reply]