Wikipedia:Bots/Requests for approval/AnomieBOT 73


 * 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

AnomieBOT 73
Operator:

Time filed: 01:26, Tuesday, April 7, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): Perl

Source code available: User:AnomieBOT/source/tasks/IMONumberRedirectCreator.pm

Function overview: Create redirects from IMO Numbers to the corresponding ship articles, based on IMO Number.

Links to relevant discussions (where appropriate): Bot requests, WT:SHIPS

Edit period(s): Periodic, probably daily

Estimated number of pages affected: About 1300 to start (based on the size of Category:IMO Number), then depending on how often new ship articles are created.

Exclusion compliant (Y/N): Yes

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

Function details: For each mainspace page in Category:IMO Number that has a sortkey being a 7- or 8-digit number, the title made by prefixing "IMO " to that number will be redirected to the article in the following cases:
 * If it doesn't exist.
 * If it's a redirect to a page that doesn't exist.
 * If it's a redirect to a page that isn't in Category:IMO Number.
 * If it's a redirect to a page that is in Category:IMO Number, but with a different sortkey.
 * If it's a redirect to a page that is a redirect to our target.

Discussion
Please post results. — xaosflux  Talk 02:05, 7 April 2015 (UTC)
 * Anomie⚔ 22:47, 7 April 2015 (UTC)

-- Magioladitis (talk) 22:51, 7 April 2015 (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.