Wikipedia:Bots/Requests for approval/DannyS712 bot 18
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
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: User:DannyS712 test/AD clerk bot.js
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
[edit]- 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]
- @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.
- An immensely helpful use for a bot Legacypac (talk) 21:35, 27 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 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]
- 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]
- Code available at User:DannyS712 test/AD clerk bot.js --DannyS712 (talk) 02:36, 28 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]
Approved.. If you have any questions, please direct to the talk page and ping me if needed. This approval does not, at this time, extend to the automatic removal of blank(ed) pages as specified by DannyS712 28 March 2019 (above). To change this, open a discussion on the talk page & ping and we will take it from there. --TheSandDoctor Talk 21:04, 29 March 2019 (UTC)[reply]
Amendments
[edit]The removal of empty sections from pages already within the scope of the bot is approved per talk page request and following a successful test/demonstration of the changes. --TheSandDoctor Talk 06:04, 8 April 2019 (UTC)[reply]
- 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 WT:BRFA.