Commons:Bots/Requests/Hazard-Bot 14

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

Hazard-Bot (talk · contribs) [14]

Operator: Hazard-SJ (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Internationalization

Automatic or manually assisted: Automatic unsupervised

Edit type (e.g. Continuous, daily, one time run): Ranging from continuous to periodic

Maximum edit rate (e.g. edits per minute): N/A

Bot flag requested: (Y/N): No

Programming language(s): Python

Most, if not all of the localization bots we've had, such as SchlurcherBot, have gone inactive. I've gone ahead and coded one, which first checks dumps to determine if a change may be possible, and if it determines one possible, it then checks the live on-wiki page. The current set of changes it makes are (subject to change):

  • Changing namespaces of files in other languages to English
  • Changing the heading title to:
    • {{int:license-header}} if it was either license information, {{int:license}}, or licensing
    • {{original upload log}} if it was either original upload log or file history
    • {{int:filedesc}} if it was summary
  • Change parameters of {{Information}}:
    • |source= from own work to {{own}}
    • |permission= from see below to   (yes, blank)

I've done a dry run of it (the code is at GitHub by the way), and it seems good, to me at least. Also, if a trial is necessary, approximately how many should I do for such a task? Thanks.  Hazard SJ  02:45, 7 September 2013 (UTC)[reply]

Discussion

Could you also add some sorting function to your bot like placing active category entries and interwikis at the bottom of an image page (active = not used in format like [[:category:xxx]] ? --Denniss (talk) 15:13, 11 September 2013 (UTC)[reply]

Do we really need interwikis in image description? Isn't mw:Extension:GlobalUsage solved this problom long time ago? --EugeneZelenko (talk) 13:46, 12 September 2013 (UTC)[reply]
Yes, I should be able to let it pick out all the categories and place/ensure they are placed at the bottom of the page. As for interwikis, that should be possible as well. However, based o the above comment, should I still also attempt implementation for them?  Hazard SJ  02:31, 13 September 2013 (UTC)[reply]
Could somebody please approve this task? There's a lot of work to be done especially with the only intermittent/rare runs of Schlurcherbot. --Denniss (talk) 11:45, 7 October 2013 (UTC)[reply]

If there are no further objections, I propose we approve this. --99of9 (talk) 13:13, 11 October 2013 (UTC)[reply]