Wikipedia:Bots/Requests for approval/DannyS712 bot 11


 * 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

DannyS712 bot 11
Operator:

Time filed: 06:38, Tuesday, March 5, 2019 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Javascript

Source code available: User:DannyS712 test/PC bot.js

Function overview: Extend Task 3 to userspace drafts namesapce:2 in Polluted categories

Links to relevant discussions (where appropriate):

Edit period(s): As needed

Estimated number of pages affected: Not many (~10 per run?), likely more (~1000?) the first time

Exclusion compliant (Yes/No): No

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

Function details: I'd like to extend Bots/Requests for approval/DannyS712 bot 3, which allows me to remove categories from userspace and draftspace pages tagged with AFC submission, to also include userspace drafts that pollute articles' categories. I would manually run it on each category, but within each category it would automatically edit all pages in userspace.

Discussion

 * BAGAssistanceNeeded --DannyS712 (talk) 16:28, 13 March 2019 (UTC)
 * Sorry for the delay/leaving you waiting here. -- The SandDoctor Talk 20:03, 13 March 2019 (UTC)
 * . See . 50 edits made (search for Task 11), and 1 error made at the start because I hadn't anonymized the code properly . However, I did this trial by running it User:DannyS712 test/PC.js on each category individually. My goal is to run User:DannyS712 test/PC bot.js from the main page, which would then automatically on every category, except AfC ones which I screen for. Would that be okay? (I altered the description to fit what I had intended; if you look at the bot code now, you'll see it log in your console a list of all categories to be run on, and separately, the one-cat code in .../PC is run with an input of a category name, making it easy to link the two). Hope this makes sense. Thanks, --DannyS712 (talk) 04:31, 14 March 2019 (UTC)
 * don't know if you saw my post above --DannyS712 (talk) 06:23, 19 March 2019 (UTC)


 * how are you identifying that some ns:2 page is a "userspace draft" vs some other sort of sandbox? — xaosflux  Talk 20:29, 20 March 2019 (UTC)
 * I'm not differentiating between the two - userspace drafts, or any other userspace pages, should not be categorized with articles as far as I am aware --DannyS712 (talk) 20:33, 20 March 2019 (UTC)
 * OK, I updated the description above. — xaosflux  Talk 21:48, 20 March 2019 (UTC)


 * in this edit you removed Category:History timeline templates - please point to the version of Database_reports/Polluted_categories where this was present (since the task is only about removing categories that are on that list per the description above). — xaosflux  Talk 21:48, 20 March 2019 (UTC)
 * See Special:Permalink/886872073 (search for "History_timeline_templates") --DannyS712 (talk) 21:55, 20 March 2019 (UTC)
 * OK, looks good. Be sure that you only run this in namespace 2 (User:) and that you only remove those 'polluted' article-based cats. —  xaosflux  Talk 21:57, 20 March 2019 (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 WT:BRFA.