User:Commons fair use upload bot

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Bot This user account is a bot operated by (talk). The bot has the autopatroller user right. 

It is not a sock puppet, but rather an automated or semi-automated account for making repetitive edits that would be extremely tedious to do manually.
Administrators: if this bot is malfunctioning or causing harm, please block it.


taskscontribscountlogspage moves block userblock logflag logglobal contribs flag bot

Shortcut: COM:FUUB

This account takes over the task of Commons fair use upload bot (usurped), which was previously operated by Dcoetzee.

The bot has been out of action for several months after the decommissioning of the toolserver environment, and is now being migrated to WMFlabs by a volunteer. As of Jan/Feb 2015 the rewritten bot should be considered in testing, so templates referenced below can be used but may take a while be acted on by the bot.

Automated logs of transactions across projects can be found at http://tools-static.wmflabs.org/commonsfairuseupload

Scope[edit]

This bot re-uploads files that are deleted on Commons to projects where they are in use, if those projects accept non-free files.

The procedure is that:

  1. Category:Pending fair use deletes, is checked for images.
  2. The revision histories are checked to see who added the requesting template.
  3. If the requesting user is not a current Commons admin, the template is changed to a request for an admin to apply the template and the bot stops processing that image. See Category:Requested fair use deletes.
  4. The images are uploaded to local wikis using an amended file name (using the same name would be confusing cross-wiki), then the original is marked for speedy deletion on Commons when done.
  5. Wikipedia articles using the images receive a notice that the file has now been locally uploaded as a fair use candidate. Local wikis are responsible for determining if the image is eligible for their own non-free content policy, and deleting it in a timely manner if not.
  6. If for some reason the image cannot be uploaded, an error message is added to the Commons image page and not marked for speedy deletion.

This bot will run hourly on WMFlabs, and is written using Python and using Pywikibot to use the Commons API (previously depending on Bryan's mwclient).

Two types of files are transferred by this bot:

  • Non-free images: not in the public domain in the United States, must have {{Fair use delete}} (non-free) tag.
  • In the public domain in the US but not in the source country: must have {{PD-US-1923-abroad-delete}} (PD-US) tag.

Currently supported wikis[edit]

supported_wikis = ['et.wikipedia.org', 'en.wikipedia.org', 'en.wikibooks.org'] pd_us_wikis = ['en.wikipedia.org', 'en.wikisource.org', 'wikisource.org']

Source code[edit]

If you can help with translations and local fair use policy, please contact the operator.