Wikipedia:Bots/Requests for approval/PkbwcgsBot 7


 * 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

PkbwcgsBot 7
Operator:

Time filed: 20:27, Saturday, December 15, 2018 (UTC)

Function overview: This is an extension to Bots/Requests for approval/PkbwcgsBot 5 and I will clean out Category:Pages using ISBN magic links and Category:Pages using PMID magic links.

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: AWB

Links to relevant discussions (where appropriate): This RfC

Edit period(s): ISBNs will be once a fortnight and PMIDs will be once a month.

Estimated number of pages affected: 300-500 pages per run (ISBNs) and 50-100 pages per run (PMIDs)

Namespace(s): Most namespaces (Mainspace, Article Talkspace, Filespace, Draftspace, Wikipedia namespace (most pages) , Userspace and Portalspace)

Exclusion compliant (Yes/No): Yes

Function details: The bot will replace ISBN magic links with templates. For example,  will be replaced with. In task 5, it fixes incorrect ISBN syntax and replaces the magic link with the template after that. This task only replaces the ISBN magic link with the template using RegEx.

Discussion
Working in article space only? – Jonesey95 (talk) 23:48, 15 December 2018 (UTC)
 * The problem is in multiple namespaces, not just the article namespace. Pkbwcgs (talk) 09:39, 16 December 2018 (UTC)
 * Since Magic links bot is already handling article space, it looks like this bot's focus will be in other spaces. I think those spaces will require manual oversight in order to avoid turning deliberate magic links into templates. Happily, there are only 4,000 pages, down from 500,000+ before the first couple of bots did their work. – Jonesey95 (talk) 12:10, 16 December 2018 (UTC)
 * I can distinguish deliberate magic links and not touch them. There are very few deliberate ones; an example is at ISBN which shouldn't be changed. Pkbwcgs (talk) 13:06, 16 December 2018 (UTC)
 * "I can distinguish" -- how can you do this automatically? This is WP:CONTEXTBOT. — HELL KNOWZ   ▎TALK 21:45, 16 December 2018 (UTC)

We don't generally approve bots for non-mainspace unless there is a specific problem. Especially without a discussion or consensus. In short, the problem with non-mainspace namespaces is that there is no expectation that article policies or guidelines should apply or are even necessary. Userspace is definitely not a place for bots to run without opt-in. You also cannot automatically work on talk pages with a task like this -- users can easily be discussing syntax and no bot should be changing their comments. The discussion may very well be archived. Same goes with Wikipedia and there are many guideline and help and project pages where such a change may not be desired. Draft, File and Portal seem fine. To sum up, we either need community consensus for running tasks in other namespaces or bot operator assurance (proof) that there are minimal to none incorrect/undesirable edits. — HELL KNOWZ   ▎TALK 21:45, 16 December 2018 (UTC)
 * I have struck the namespaces which I feel that will cause problems. I assure that there won't be no incorrect edits. Pkbwcgs (talk) 21:51, 16 December 2018 (UTC)
 * Looks good then. Will wait for resolution at Bots/Requests for approval/PkbwcgsBot 5. — HELL KNOWZ   ▎TALK 21:57, 16 December 2018 (UTC)
 * I think the revised list of spaces (at this writing: Main, Draft, Portal, File) makes sense. – Jonesey95 (talk) 01:46, 17 December 2018 (UTC)
 * Task 5 has went to trial and this has been wait for over one month. Pkbwcgs (talk) 22:08, 27 January 2019 (UTC)
 * I think its like 3 months by now - maybe tag as BagAssistanceNeeded? --DannyS712 (talk) 01:59, 22 March 2019 (UTC)
 * Ping to start trial Hhkohh (talk) 08:11, 11 April 2019 (UTC)


 * (50 of each). — xaosflux  Talk 14:42, 7 April 2019 (UTC)
 * The edits are here. The ISBN RegEx worked but the PMID RegEx didn't work so I only did ISBNs. Pkbwcgs (talk) 08:28, 12 April 2019 (UTC)
 * I reviewed all of the edits from April 12 and found no errors. In this edit, the ISBN is inside the title of a work in a reference, but the magic link and the template rendered the same, so no problem. – Jonesey95 (talk) 09:11, 12 April 2019 (UTC)
 * do you want to work on fixing the PMID's or limit the scope of this task to only the ISBN's? — xaosflux  Talk 15:15, 14 April 2019 (UTC)
 * I will limit the scope of this task to only ISBNs. Pkbwcgs (talk) 18:25, 14 April 2019 (UTC)
 * Since there is a backlog of BRFAs currently open, I thought I'd help out - I looked through the 50 edits made as part of the narrowed scope (ISBNs only), and didn't find any issues. In fact, the bot could cope with double spaces, non-breaking spaces, and even tabs. --DannyS712 (talk) 01:42, 26 April 2019 (UTC)

Note that is is only for ISBNs per the discussion above. Primefac (talk) 20:41, 27 April 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.