Fandom Developers Wiki

FileUsageAuto-update helps to mitigate the time consumption of File namespace maintenance by updating file links automatically. This script adds buttons to Special:MovePage and adds a "Queue" option to the Edit drop-down on any File namespace page. You can rename and update files individually, or rename files in batches and update all of the file links at the same time (to group edits to the same pages together) using the queue. Additionally you can add broken file links to the queue to be updated. This script works best when used as a Gadget, but can be used in personal or wiki-wide JavaScript pages regardless.

Installation

Requirements

This is a maintenance script that involves renaming images and semi-automated editing. Do not use this script without first reviewing your wiki's policies regarding automated editing and obtaining necessary approvals and/or user rights.

Customization

At the moment you are able to add a message to appear on the file rename page and change the API request delay. All of these parameters are optional, but if specified must come before your importArticles call. Take note that some values specified must be enclosed inside of the quotation marks. Below are the default values and an example of how to use them. For API request delay, the lower the value the higher chance there is of getting API errors (ratelimits and others) when using this script. You're also able to override any messages the script uses via I18n-js built-in message overriding.

window.LIRoptions = {
    bottomMessage: '',
    delay: 1000
};

Wait List

WaitListedFileAndSolution

If you hit "Add to queue" and close your tab, it may cause your file to get wait listed, where it will endlessly be in a waiting list to be added to the queue. The file being added to the queue in a list will often never happen, and you may need to reset the list in order to continue queuing files. In general, the wait list would only apply to the browser it was closed on, and will not affect other devices. To remove the wait list, you can click on any file, click on the three dots on the file page, click "Queue", click "Reset wait list", and hit "OK" when a pop up appears. This will clear out your wait list and allow new images to go through in the queue.

Gallery

Text above can be found here (edit)