User:Crimsonfox/Covery

Usage
When viewing articles, a new toolbox menu item is added: "Upload cover (Custom)". Click this link to open a dialogue window, where you can select a file – a preview of the image will be shown. Fill out the rest of the form (including a valid file name that is not already in use on Wikipedia or Commons), then click the upload button.

The script will then: When finished, the article will be reloaded.
 * Resize the file, if the resolution is more than 100000 pixels
 * Upload the file
 * Create a talk page for the file with the project banner
 * Add the image to the article's infobox (along with caption and alt text if they were specified)
 * Edit the article talk page to remove the cover parameter from the project banner (if it is present)

Alternatively, another new menu item is added: "Covery (Custom) - Upload only". This will ignore checking for infoboxes and allow you to upload an image without adding it to the page or removing the cover tag.