Wikipedia:Bots/Requests for approval/DannyS712 bot III 72


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard. The result of the discussion was

DannyS712 bot III 72
Operator:

Time filed: 10:26, Sunday, July 26, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Javascript

Source code available: Not written yet

Function overview: Automatically unpatrol pages created by global rollbackers

Links to relevant discussions (where appropriate): Wikipedia_talk:New_pages_patrol/Reviewers/Archive_37

Edit period(s): Continuous

Estimated number of pages affected: Likely no more than a handful per day

Exclusion compliant (Yes/No): No

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

Function details: See Wikipedia talk:New pages patrol/Reviewers. Users with global rollback that create pages here on enwiki are autopatrolled. For those users that lack local autopatrol, automatically un-patrol the pages that they create that are in the page curation system, so that they can be reviewed normally.

Pages to unpatrol will be fetched from the replicas using the query below. This filters for pages that last had their review status changed by global rollbackers where
 * The current status corresponds to autopatrolled pages (some global rollbackers, myself included, are new page reviewers, and so there are many entries where the status was changed by a global rollbacker, but in the context of patrolling others' creations, rather than creating their own)
 * The user lacks both local autopatrol and adminship (yes, bots also have autopatrol, so technically this wouldn't properly filter out global rollbackers that are also local bots and should not be unpatrolled, but there aren't any, and its unlikely there will be in the future)
 * The page is in the main namespace (I don't think the concerns raised in the linked discussion suggest that we should be concerned about the user (sub-)pages created by global rollbackers, and user pages are also a part of the page curation system

Testing the query correctly flagged some recent pages I and other global rollbackers created.

Discussion

 * to unpatrol a page we need T22399.--GZWDer (talk) 10:52, 30 July 2020 (UTC)
 * Not with page curation - that is for rc patrolling. See https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/PageTriage/+/refs/heads/master/includes/Api/ApiPageTriageAction.php DannyS712 (talk) 10:53, 30 July 2020 (UTC)
 * And yes, I realize these aren't "edits", but please post the log of un-patrols here when complete. Primefac (talk) 22:06, 2 August 2020 (UTC)
 * Will do. Unfortunately, the replicas are currently lagging, so it might be a bit before I can do this DannyS712 (talk) 22:08, 2 August 2020 (UTC)
 * Update - haven't gotten to this yet due to some other commitments, but I should be able to do it soon DannyS712 (talk) 05:21, 18 August 2020 (UTC)

Any progress? Primefac (talk) 15:38, 10 November 2020 (UTC)


 * Sorry, kind of forgot about this. Will try to do soon DannyS712 (talk) 16:36, 10 November 2020 (UTC)
 * @Primefac so I wrote the code, but running it a single time would result in unpatrolling 31 different pages, since that is the current number still in the page triage queue - is it okay to do a full run, or should I figure out how to add limits? The bot will be reporting the pages to unpatrol at User:DannyS712 bot III/Unreviewed.json, and since I ran it once in dry mode you can see the 31 pages that would be unpatrolled in such an initial run. Thanks, --DannyS712 (talk) 02:08, 11 November 2020 (UTC)
 * That's fine, rather have more data than less. Primefac (talk) 18:15, 11 November 2020 (UTC)
 * 31 pages unreviewed, see DannyS712 (talk) 18:27, 11 November 2020 (UTC)
 * This query is using cross-database joins, which I guess will no longer work soon – see wiki/News/Wiki_Replicas_2020_Redesign & T260389. – SD0001  (talk) 18:46, 11 November 2020 (UTC)
 * Hmm, I'll have to figure that out eventually, but at least for now it should work for a few months DannyS712 (talk) 18:50, 11 November 2020 (UTC)
 * Please get to work on that. Primefac (talk) 01:27, 16 November 2020 (UTC)

Primefac (talk) 01:27, 16 November 2020 (UTC)
 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Bots/Noticeboard.