User:Evad37/Covery

From Wikipedia, the free encyclopedia
Covery
DescriptionUploads non-free video game covers
Author(s)Evad37
Version1.5.0
Updated3 November 2019 (history)
Browser support
  • Edge ≥ 14
  • Firefox ≥ 39
  • Chrome ≥ 42
  • Safari ≥ 10.1
  • Opera ≥ 29
  • Internet Explorer
Skin support
  • Vector
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • MinervaNeue
Source

Covery (source) is a script to assist in uploading non-free cover images for video games.

Browser requirements[edit]

A reasonably modern browser – from around 2016 or later – is required to use Covery. Specifically:

  • Edge: 14 or later
  • Firefox: 39 or later
  • Chrome: 42 or later
  • Safari: 10.1 or later
  • Opera: 29 or later
  • No version of Internet Explorer is supported (sorry)

Installation[edit]

To install the script, add the line:

{{subst:lusc|User:Evad37/Covery.js}}

to Special:MyPage/common.js.

Usage[edit]

When viewing articles, a new toolbox menu item is added: "Upload cover". 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:

  • 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)

When finished, the article will be reloaded.

See also[edit]