Jump to content

Wikipedia:Bots/Requests for approval/SQLBot 6

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Xaosflux (talk | contribs) at 15:57, 30 March 2018 (+trial). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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

Time filed: 01:07, Wednesday, March 21, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): PHP

Source code available: https://tools.wmflabs.org/botwatch/source.php?file=parse.php

Function overview: After an AIV report hasn't been acted on in 6 hours - it is stale, and should be removed.

Links to relevant discussions (where appropriate): [1], [2], [3]

Edit period(s): Continuous

Estimated number of pages affected: 1

Exclusion compliant (Yes/No): No

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

Function details: SQLBot would remove AIV reports (and associated comments) after the parent report is 6 hours old.

I would run the bot every 30 mins looking for these reports.

Tests can be seen at: [4]

Changing User:SQLBot/AIVStop from "go" to anything other than "go" results in the bot stopping (page is full protected)

Discussion

@JamesR: any concerns with conflicts to User:HBC AIV helperbot5? — xaosflux Talk 12:59, 22 March 2018 (UTC)[reply]
Should the bot be simply removing stale requests, I do not believe this will cause any issues. Can we trial this as part of the BRFA to be sure? — JamesR (talk) 22:51, 25 March 2018 (UTC)[reply]
@JamesR and Xaosflux: - Yep, the only plan is removing stale requests. In the future I may look at removing declined requests as well, but that'll be a different BRFA (and require more discussion) SQLQuery me! 01:00, 26 March 2018 (UTC)[reply]
From the test edits, it looks as if a declined request has been so for the time limit, it would be removed just the same, yes? ~ Amory (utc) 10:57, 26 March 2018 (UTC)[reply]
This is true - declines that aren't removed within 6 hours would be auto-removed as stale. I think the part that seems different to me is having the bot remove declines on the very next run. SQLQuery me! 23:56, 26 March 2018 (UTC)[reply]
Approved for trial (200 edits or 15 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete.xaosflux Talk 15:56, 30 March 2018 (UTC)[reply]