Wikipedia:Bots/Requests for approval/BattyBot 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 Approved.
Operator: GoingBatty (talk · contribs)
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 search results
Exclusion compliant (Y/N): Y
Already has a bot flag (Y/N): Y
Function details: Replace http://www.iranica.com/articles/
with http://www.iranicaonline.org/articles/
(e.g. this edit)
Discussion
[edit]This seems relatively trivial/uncontroversial Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. --Chris 10:09, 15 January 2012 (UTC)[reply]
- Trial complete. 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)[reply]
Approved. --Chris 10:56, 17 January 2012 (UTC)[reply]
- 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.