User:Evad37/Covery
Appearance
Description | Uploads non-free video game covers |
---|---|
Author(s) | Evad37 |
Version | 1.5.0 |
Updated | 3 November 2019 (history) |
Browser support |
|
Skin support |
|
Source |
Covery (source) is a script to assist in uploading non-free cover images for video games.
![]() | This script is currently alpha software. It is new and should be used with caution to ensure the results are as expected. Please check edits carefully, and report any problems. |
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}}
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]Sandbox links
| ||
---|---|---|
|