Operator: DannyS712 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 07:18, Tuesday, March 19, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): JavaScript
Source code available: Not written yet
Function overview: Clerking at Wikipedia:WikiProject Abandoned Drafts/Stale drafts
Links to relevant discussions (where appropriate): WP:BOTREQ#STALE Drafts
Edit period(s): As needed (probably ~weekly)
Estimated number of pages affected: ~40
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details: Remove entries on pages that link to either deleted pages, redirects, or blanked drafts.
Discussion
- This is only going to edit the single page Wikipedia:WikiProject Abandoned Drafts/Stale drafts, corret? — xaosflux Talk 14:21, 20 March 2019 (UTC)[reply]
- @Xaosflux: No, it would clerk the ~40 subpages of it to remove pages that are deleted, redirected, or blanked --DannyS712 (talk) 14:22, 20 March 2019 (UTC)[reply]
Approved for trial (50 edits or 30 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. OK to trial, please link edit summary to this BRFA and leave a note at Wikipedia talk:WikiProject Abandoned Drafts/Stale drafts that i4t has begun. — xaosflux Talk 14:29, 20 March 2019 (UTC)[reply]
- @Xaosflux: Is it okay if I don't start this yet? I have a lot on my plate at the moment, both on- and off-wiki. Thanks, --DannyS712 (talk) 19:33, 20 March 2019 (UTC)[reply]
- @DannyS712: OK, consider the 14 days from whenever you start....maybe stop opening BRFAs until you can catch up too...... — xaosflux Talk 19:36, 20 March 2019 (UTC)[reply]
- @Xaosflux: Thanks --DannyS712 (talk) 19:40, 20 March 2019 (UTC)[reply]
- Started --DannyS712 (talk) 20:14, 27 March 2019 (UTC)[reply]
- An immensely helpful use for a bot Legacypac (talk) 21:35, 27 March 2019 (UTC)[reply]
- @Legacypac: Well I made it at your request if I recall correctly. 2 "issues" so far: this does not remove drafts that have been blanked, since that would require parsing all of the drafts.
It also does not yet remove links that have multiple html classes ("new" (redlinked) and something else). These aren't bugs per se, but merely limitations on the effect of the bot. I'll try to solve the second, but the 1st would need a whole different approach. Just wanted to temper your expectations. Second issue resolved! --DannyS712 (talk) 02:20, 28 March 2019 (UTC) --DannyS712 (talk) 21:38, 27 March 2019 (UTC)[reply]
- @Xaosflux and Legacypac:
Trial complete. 50 edits made ([1]). I didn't see any issues, except for the 2 limitations described above (now 1). I ran this whenever there was even 1 page to remove, so I could review each edit, but if approved this would likely run between once per day and once per week. Thanks, --DannyS712 (talk) 02:35, 28 March 2019 (UTC)[reply]
- Code available at User:DannyS712 test/AD clerk bot.js --DannyS712 (talk) 02:36, 28 March 2019 (UTC)[reply]
- It looks to be working correctly. Blank(ed) pages can be manually removed as needed unless you come up with a better solution. Legacypac (talk) 03:23, 28 March 2019 (UTC)[reply]
- @Legacypac: I agree that, for now, they need to be manually removed. If I ever have a good solution to automatically remove them, I'll let you know and probably file a new BRFA. --DannyS712 (talk) 16:54, 28 March 2019 (UTC)[reply]