Wikipedia:Bots/Requests for approval/Sambot 5
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was
Approved.
Operator: [[Sam Korn]] (smoddy)
Automatic or Manually Assisted: Automatic
Programming Language(s): PHP, using Pillar
Function Overview: Per request, migrate links from www.parl.gc.ca/information/about/process/house/hfer/hfer.asp
to http://www2.parl.gc.ca/Sites/LOP/HFER/hfer.asp
.
Edit period(s): Once
Already has a bot flag (Y/N): Y
Function Details:
Code at User:Sambot/Code/Extlinkmigrate.php. The command is
php extlinkmigrate.php -f'http://www.parl.gc.ca/information/about/process/house/hfer/hfer.asp' -t'http://www2.parl.gc.ca/Sites/LOP/HFER/hfer.asp' -n0
Basically, the process is to use the API to get all article namespace pages linking to the first page and apply a regex to convert all links to the second link.
[[Sam Korn]] (smoddy) 16:33, 24 March 2009 (UTC)[reply]
Discussion
editApproved for trial (20 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. EL updates for dead URLs aren't a very controversial task Q T C 22:28, 25 March 2009 (UTC)[reply]
Trial complete.. Successful. [[Sam Korn]] (smoddy) 23:33, 25 March 2009 (UTC)[reply]
Approved. Ok by me. MBisanz talk 06:07, 31 March 2009 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.