User:Commons fair use upload bot

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

This bot re-uploads files that are deleted on Commons to projects where they are in use, if those projects accept non-free files. It goes over the files in Category:Pending fair use deletes, uploads them to local wikis, then marks them for speedy deletion on Commons when it's done. Any article using the images receives a notice that the file has been re-uploaded as a fair use candidate. Local wikis are responsible for determining if the re-uploaded image is eligible for their non-free content policy, and deleting it in a timely manner if it is not. If for some reason it's not able to upload the image, it will leave an error message on the file page and not mark it for deletion.

This bot will be run periodically and fully automatically on Toolserver, and is written using Python and 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 = ['', '', ''] pd_us_wikis = ['', '', '']

Source code[edit]

Source code is in the public domain and available from:

I need help with translation and local policy to bring Commons fair use upload bot to more wikis. Please contact me if you can help.

Bot This user account is a bot operated by Dcoetzee (talk).

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