Wikipedia:Bots/Requests for approval/Erwin85Bot 3


 * 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 Symbol keep vote.svg Approved.

Erwin85Bot
Operator: Erwin85 (talk)

Automatic or Manually Assisted:Automatic, from toolserver

Programming Language(s):Python (pywikipedia)

Function Summary:Get a list of files in Category:All_orphaned_fairuse_images that aren't orphans. Remove Template:Di-orphaned fair use from those pages.

Edit period(s) (e.g. Continuous, daily, one time run):Daily

Edit rate requested: Not really an issue, for test edits I used standard pywikipedia throttle, but I could use a larger throttle.

Already has a bot flag (Y/N):Y

Function Details:Perform a query on the toolserver's database to get a list of files in Category:All_orphaned_fairuse_images that aren't orphans and remove Template:Di-orphaned fair use from those pages.

Discussion
Approvals Test edits. --Erwin85 (talk) 16:21, 28 February 2008 (UTC)
 * Disambiguation pages and redirects
 * Interwiki's
 * CatCount


 * What is the definition of "not an orphan"? Would this pass simple inline links, or would it pass uses or links outside article space? Gimmetrow 04:36, 29 February 2008 (UTC)
 * Not being an orphan means that the image is used (imagelinks) in an article, i.e. a page in namespace 0. The query I use is
 * -- Erwin85 (talk) 10:50, 29 February 2008 (UTC)
 * --uǝʌǝsʎʇɹnoɟʇs (st47) 12:32, 8 March 2008 (UTC)
 * There were 19 images that didn't belong in the category. Those pages were edited. The idea is to run this bot as a cron job. --Erwin85 (talk) 14:43, 10 March 2008 (UTC)
 * I edited a few more pages and will wait for a response now. --Erwin85 (talk) 10:19, 12 March 2008 (UTC)
 * How's the trial come along? SQL Query me!  06:50, 20 March 2008 (UTC)
 * Check out Erwin85Bot's contributions. It does what it should do, so I'm waiting for it to be either approved or denied or do you want me to make some more trial edits? --Erwin85 (talk) 08:54, 20 March 2008 (UTC)

Trial, SQL query look ok. — Werdna talk 07:34, 21 March 2008 (UTC)


 * The above discussion is preserved as an archive. Please do not modify it. Subsequent comments should be made on the appropriate discussion page, such as the current discussion page. No further edits should be made to this discussion.