Wikipedia:Bots/Requests for approval/PotatoBot 6


 * 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 Symbol keep vote.svg Approved

PotatoBot 6
Operator:

Time filed: 16:08, Monday July 25, 2011 (UTC)

Automatic or Manual: Automatic, unsupervised

Programming language(s): Python, PyWikipedia

Source code available: Yes

Function overview: Creates redirects to combination drugs from alternative ordering(s) of drug names

Links to relevant discussions (where appropriate): Wikipedia_talk:WikiProject_Pharmacology

Edit period(s): One time; perhaps further runs when new combination drug articles are created

Estimated number of pages affected: 79

Exclusion compliant (Y/N): Yes

Already has a bot flag (Y/N): Yes

Function details: Per WikiProject Pharmacology/Style guide (and Article titles). Creates redirects from all possible orderings of drug names to the pages in Category:Combination drugs and it subcategories, provided there is at least a slash in the title; i.e. Misoprostol/diclofenac -> Diclofenac/misoprostol.

Double redirects are resolved; no existing pages are overwritten.

Discussion
Although the guidelines agree with the task, could you nevertheless drop a note at WikiProject Pharmacology that a bot would do this? Anyway, I see at least 10 or so redirects already exist and there are not that many pages, so this does not seem controversial. Also question, would Rifampicin/isoniazid/pyrazinamide be getting 5 redirects? — HELL KNOWZ  ▎TALK 16:32, 25 July 2011 (UTC)
 * Notified WP:PHARM. And yes, Rifampicin/isoniazid/pyrazinamide would get three redirects. --ἀνυπόδητος (talk) 16:40, 25 July 2011 (UTC)
 * Minor thing, but on some of them the first letter might be capitalized, and, once the two are reversed, while the formerly-lowercase drug will be uppercase, the formerly-uppercase might need to case switch, depending on whether it's a generic versus brand name. -- slakr \ talk / 16:34, 25 July 2011 (UTC)
 * Yes, the bot fixes case. The names are all International Nonproprietary Names, so capitalising of brand names is not an issue. --ἀνυπόδητος (talk) 16:40, 25 July 2011 (UTC)
 * --ἀνυπόδητος (talk) 16:44, 25 July 2011 (UTC)

BRFA open for over a week without any concerns. — HELL KNOWZ  ▎TALK 07:55, 2 August 2011 (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.