Commons:Bots/Requests/esby-mw-bot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Note: this was previously requested, I am reopening the request as I had forgotten to perform Multichill request at this time.
Operator: Esby (talk)

Bot's tasks for which permission is being sought:

  • Updating textual error in descriptions of pages.
  • Performing substitution in description of pages.

Automatic or manually assisted: This will be done by the mw tool. Basically, the tool is able to retrieve pages to disk,which can be edited with the appropriate tools (eg: using sed for text replacement) and committed back with the appropriate mw command.

Edit type (e.g. Continuous, daily, one time run): One time run. Launched when task are needed to be performed.

Maximum edit rate (eg edits per minute): Right now, the public version of mw has no throttle, but a throttle can be added easily if needed. The version I have tested on a few edits used a 5s throttle for instance.

Bot flag requested: (Y):


Programming language(s): the mw tool is using python Esby (talk) 00:50, 14 May 2010 (UTC)[reply]

Discussion

Previous discussion

I will do so, but they are bugs/issue that will need to fixed before I'll plan to do anything serious with it, I'll limit the tests to my user space until those are fixed.

  • There is a bug with pagename with special chars: the page can be retrieved from the wiki, but they cannot be diffed locally or uploaded back. I don't think this cause a problem for us here, that's an issue for me, since it forbid me to work on such pages.
  • There is no taking in account of changes performed between the retrieval and the commit on the wiki page: There is a risk of erasing someone contribution. Imo, this is the main issue that stops me for now from using it on the main space.
  • Contribs marked as bot are supported theorically, now I haven't test it yet.
  • throttle is implemented, althought the way I did it with my patch is not ok yet.

Esby (talk) 12:53, 15 May 2010 (UTC)[reply]

Considering there are bugs to debug and fix, I'll just require permission to run it under my user space. Esby (talk) 12:57, 15 May 2010 (UTC)[reply]
Another permission request will be done when those bugs are fixed. Esby (talk) 12:57, 15 May 2010 (UTC)[reply]

test edit performed, see contribs. Esby (talk) 14:09, 15 May 2010 (UTC)[reply]

Test run looks OK for me. But bot purpose is too wide for me. I think will be good idea to use it on specific request with possible additional discussions. --EugeneZelenko (talk) 15:20, 15 May 2010 (UTC)[reply]
btw, there is a possibility to provide a diff over every change planned before doing a comit, so things can be discussed if necessary.
The bugs have been fixed. (Issues with accentued chars / collision detection implemented / issues with blanking page). Could it be possible that I do a large test run:
I have a few intervention to peform on files i had uploaded:
  • some old files description File:Luc_Lefèbvre_(Ptitluc)_00.jpg to File:Luc_Lefèbvre_(Ptitluc)_50.jpg could be enhanced, the filename are wrong, at the author nickname is Ptiluc and not Ptitluc, I'd wish to add the rename template so i can do the rename by hand after the bot and check that the description were properly updated. ( ~ 50 files).
  • there are things I need to fix around a template I created: {{Festival Template}} The parameter author needs to be replaced by depicted person, I also want to feed the values of this parameter when it is possible in the description using this template. More information here: Template_talk:Information Now this concerns 820 files, I'll probably split the work to check that there are no unexpected issues. The overall planned change can be seen here
Esby (talk) 23:44, 31 May 2010 (UTC)[reply]
Please do a(nother) test run. Multichill (talk) 20:18, 9 August 2010 (UTC)[reply]
 Not done, not responding --Schlurcher (talk) 18:57, 27 September 2010 (UTC)[reply]
Sorry, had been busy around this time, forgot to reply to Multichill request. Esby (talk) 20:39, 30 January 2011 (UTC)[reply]

I am re-opening the request: I am going to perform a few tests modifications with the bot. I am aiming for two kind of tasks:

  • Maintenance of the french chapter image categorization - The images using {{Supported by Wikimedia France}} to sort the image per theme in the chapter categorization scheme.
  • substitution / correction of defective textual description like this one [1].

Esby (talk) 20:39, 30 January 2011 (UTC)[reply]

Test edits performed. Special:Contributions/Esby-mw-bot - Any abuse filter warning will stop the bot from performing any further edits. Eg [[Here the bot could not perform a blanking on my user page I don't plan on fixing this for now, as it acts as a safeguard. Esby (talk) 21:52, 30 January 2011 (UTC)[reply]
Can you do test edits in file namespace that look like what you plan to do? --  Docu  at 06:58, 20 February 2011 (UTC)[reply]
Performed 10 description changes in file namespace with a throttle of 10s. Esby (talk) 20:55, 20 February 2011 (UTC)[reply]
any update? Esby (talk) 15:15, 4 April 2011 (UTC)[reply]
No concerns on my end. –Juliancolton | Talk 11:51, 9 April 2011 (UTC)[reply]

Would it be possible to get the bot flag? Esby (talk) 15:41, 26 August 2011 (UTC)[reply]


As far as I understood, only {{Supported by Wikimedia France}} maintenance is task of the bot. If so, does anybody has objections to grant bot status? --EugeneZelenko (talk) 14:45, 2 September 2011 (UTC)[reply]

The bot can do 'other things', depending of what is needed, this ain't really a bot but an offline editing tool... This mainly involves batched text processing... Currently I have a 'request' to replace and reformat the description of some files with some others... See User talk:Esby/Archives/2011/September#automated_copying_of_image_descriptions for more details... Esby (talk) 14:53, 2 September 2011 (UTC)[reply]
Can we get some progress? To have the bot allowed for bot flag for its main maintenance task (french chapter related). Other tasks shall be performed without the bot option activated? Esby (talk) 15:22, 24 October 2011 (UTC)[reply]

If the process of download, edit, and upload takes more than few hours, than the risk of unmanaged edit conflicts rises. Are you able to deal with it? (eg. fast download-edit-reupload, a check for recent/new changes to the page, etc.) If so I support this task. -- Basilicofresco (msg) 09:48, 4 December 2011 (UTC)[reply]

Changes will not be performed if a page was changed after it was downloaded locally by the mw tool. Esby (talk) 15:10, 5 December 2011 (UTC)[reply]
Very good.  Support -- Basilicofresco (msg) 18:41, 5 December 2011 (UTC)[reply]

✓ Approved per consensus here. --99of9 (talk) 06:18, 18 May 2012 (UTC)[reply]