Wikipedia:Bots/Requests for approval/AnomieBOT 73

AnomieBOT 73

[[User:AnomieBOT|AnomieBOT 73]]

{{Newbot|AnomieBOT|73}}

Operator: {{botop|Anomie}}

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 {{tl|IMO Number}}.

Links to relevant discussions (where appropriate): Wikipedia:Bot requests#IMO Numbers, WT:SHIPS#On hull/pennant numbers

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=

{{BotTrial|edits=100}} Please post results. — xaosflux Talk 02:05, 7 April 2015 (UTC)

: {{BotTrialComplete}} [https://en.wikipedia.org/w/index.php?title=Special:Contributions/AnomieBOT&dir=prev&offset=20150407223000&limit=100&target=AnomieBOT] Anomie 22:47, 7 April 2015 (UTC)

{{BotApproved}} -- 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.