Wikipedia:Bots/Requests for approval/PotatoBot 5


 * 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 5
Operator:

Time filed: 20:12, Sunday December 26, 2010 (UTC)

Automatic or Manually assisted: Automatic, unsupervised

Programming language(s): Python, PyWikipedia

Source code available: Yes

Function overview: Creates redirects from trade names to drug articles

Links to relevant discussions (where appropriate): Wikipedia talk:PHARMA

Edit period(s): Initially one-time run; further runs when new databases turn up

Estimated number of pages affected: Initially up to 887

Exclusion compliant (Y/N): Yes

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

Function details: Trade names are obtained from the Merck manual (and hopefully from other sources in future runs). The bot includes R from trade name in the redirects, and also adds it to already existing redirects. R from alternative name / R from brand name are replaced with the more specific R from trade name. Redirects pointing to a wrong page aren't edited but only logged to the bot's user space.

Double redirects are resolved; redirects to nonexistent pages are omitted; no existing pages are overwritten.

Discussion
BAGAssistanceNeeded --ἀνυπόδητος (talk) 08:45, 3 January 2011 (UTC)

— HELL KNOWZ  ▎TALK 17:43, 6 January 2011 (UTC)


 * 6 new redirects, 5 redir templates replaced with R from trade name, 19 trade name templates added. Looks fine to me. --ἀνυπόδητος (talk) 19:34, 6 January 2011 (UTC)


 * Looks good. Let's do a broader sample. —  HELL KNOWZ  ▎TALK 17:34, 9 January 2011 (UTC)


 * --ἀνυπόδητος (talk) 09:55, 10 January 2011 (UTC)


 * Are you sure "H/P/ Acthar Gel" and "Epogen/Procrit"  are the correct names to use? Quick google says "Epogen" and "Procrit" are the same but different name. "H/P/ Acthar" seems to be "H.P. Acthar". —  HELL KNOWZ  ▎TALK 11:02, 10 January 2011 (UTC)


 * Hm. I'll modify the code so that trade names with slashes are broken up, creating two redirects. I have found a second entry like like "H/P/ Acthar" in the Merck list, namely "D/H/ E/ 45". I think I'll just leave out such items (single letters between slashes, I'd say). While I think that Merck is a reliable source and a quick look over the list hasn't revealed any more strange entries, I can't be sure there aren't any.
 * Shall I nominate the two erroneous redirs you found for deletion? --ἀνυπόδητος (talk) 13:17, 10 January 2011 (UTC)


 * Anything less than 2/3 letters between slashes is probably some weird name, so those are best to be ignored. I see no reason not to break up slashed entries with proper words, given you examine the results of that. You can probably CSD the two bad redirects as unlikely redirects. In any case, error rate is small enough and a quick glance through the contributions should reveal weird entries. Other than that, no issues.

— HELL KNOWZ  ▎TALK 13:24, 10 January 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.