Wikipedia:Bots/Requests for approval/Cyberbot II 2


 * 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

Cyberbot II 2
Operator:

Time filed: 15:36, Tuesday April 30, 2013 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): PHP

Source code available: Not yet. Development in final stages.

Function overview: Replace all instances of chartstats.com or chartarchive.org with officialcharts.com, directing to appropriate location. If it's unable to determine where it's supposed to be redirected to, it gets marked as dead.

Links to relevant discussions (where appropriate): Bot_requests/Archive_54

Edit period(s): Should be a one-time run, but will run weekly to check for any new additions.

Estimated number of pages affected: 1000-2000 pages

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: The OCC has claimed that these websites are in breach of their database rights and has requested removal of the data on the site. Since the site no longer can deliver the information needed, the owner of the sites has requested that all links be redirected back to their site. I am still finishing up development.

Discussion

 * for when you are ready.  ·Add§hore·  Talk To Me! 17:00, 30 April 2013 (UTC)
 * The script will kill itself once it makes 50 attempted edits.— cyberpower ChatOnline 02:23, 1 May 2013 (UTC)
 * A random scan of edits reveal no problems after the bug fixes after the initial 5 edits.— cyberpower ChatOnline 01:07, 3 May 2013 (UTC)
 * Hold on. Something went wrong.— cyberpower ChatOnline 01:26, 3 May 2013 (UTC)
 * Fixed the bug and re-ran it. Fixed this bug afterwards.— cyberpower ChatOnline 02:03, 3 May 2013 (UTC)
 * What was the bug?  ·Add§hore·  Talk To Me! 09:43, 5 May 2013 (UTC)
 * A regex problem.— cyberpower ChatOffline 10:14, 5 May 2013 (UTC)
 * All now looks good  ·Add§hore·  Talk To Me! 10:41, 5 May 2013 (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.