Wikipedia:Bots/Requests for approval/BattyBot 6
[[User:BattyBot|BattyBot 6]]
{{Newbot|BattyBot|6}}
Operator: {{User|GoingBatty}}
Time filed: 20:49, Saturday January 14, 2012 (UTC)
Automatic or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Function overview: Fix the links to the online version of Encyclopædia Iranica by changing links of the type http://www.iranica.com/articles/title to http://www.iranicaonline.org/articles/title
Links to relevant discussions (where appropriate): Wikipedia:Bot requests/Archive 45#Broken links to Encyclopædia Iranica Online
Edit period(s): One time run
Estimated number of pages affected: 1,184 - per [http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=http%3A%2F%2Fwww.iranica.com%2Farticles%2F&button=%3CIMG+alt%3DSearch+src%3D%22%2F%2Fbits.wikimedia.org%2Fskins-1.18%2Fvector%2Fimages%2Fsearch-ltr.png%3F303-4%22%3E search results]
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: Replace
with
(e.g. [http://en.wikipedia.org/w/index.php?title=Jalal_Matini&action=historysubmit&diff=471381889&oldid=453378198 this edit])
=Discussion=
This seems relatively trivial/uncontroversial {{BotTrial|edits=50}} --Chris 10:09, 15 January 2012 (UTC)
:{{BotTrialComplete}} [http://en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&offset=20120115211257&target=BattyBot diffs] - To ensure links such as http://www.iranica.com/articles/v7/v7f4/v7f446.html are not changed to the non-working http://www.iranicaonline.org/articles/v7/v7f4/v7f446.html I used the following regex: iranica\.com\/articles\/([\w-]*)([\s\]}\|])
→ iranicaonline.org/articles/$1$2
--GoingBatty (talk) 22:46, 15 January 2012 (UTC)
{{BotApproved}} --Chris 10:56, 17 January 2012 (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.