Wikipedia:Bots/Requests for approval/Kakashi Bot


 * 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.

Kakashi Bot
Operator:

Automatic

Programming language(s): Python

Source code available:

import mwclient import time site = mwclient.Site('en.wikipedia.org') username = 'Kakashi Bot' site.login(username, password)

barnstar = site.Pages

for i in barnstar.imageusage: i.save(i.edit.replace('Allaroundamazingbarnstar3.png', 'Allaroundamazingbarnstar.png'), summary = 'Kakashi Bot making one time change of renaming Allaroundamazingbarnstar3.png to Allaroundamazingbarnstar.png') time.sleep(5)

Function overview: Rename all uses of Allaroundamazingbarnstar3.png to Allaroundamazingbarnstar.png

Links to relevant discussions (where appropriate):

Edit period(s): One time run

Estimated number of pages affected: 149

Exclusion compliant (Y/N):

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

Function details:

Discussion
Just trying to move all the image links for the above file to the preferred Commons name.

--AllyUnion (talk) 22:41, 9 August 2010 (UTC)


 * Given that Ally is a longtime bot op and a retired member of BAG, I am akin to speedy approve this task in the next couple of hours.  MBisanz  talk 04:55, 10 August 2010 (UTC)
 *  MBisanz  talk 07:52, 11 August 2010 (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.