dev

This script/stylesheet is for PERSONAL use only!

You are free to install this script/stylesheet for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:ImportJS, MediaWiki:Common.js, MediaWiki:Common.css, MediaWiki:Fandomdesktop.js, MediaWiki:Fandomdesktop.css, or MediaWiki:FandomMobile.css), as it would violate Fandom's Terms of Use.
(See the customization policy)

LinkThumb is a little file management tool to help admins quickly sift through a list of file links without having to open each link to check the image. Useful in wikis with anarchist file names.

The thumbnail is 200 pixels wide and displayed on the bottom left corner of the screen. It is displayed for two seconds before fading out.

The script supports every media type but if the file isn't viewable (as *.ico and *.ogg files, for example), it will show up a type icon.

Installation

Configuration

LinkThumb can be configured. For that purpose, you can use the window.linkThumbConfig object with three options:

The configuration object must be above the script import statement. You can use next code as an example config:

window.linkThumbConfig = {
    width: 300,
    closeTimeout: 2500,
    requestTimeout: 1000
}

Changelog

V0.1
Script launched.
V0.2
Added handling of failed and nonexistent requests.
API query now resolve redirects. Script now works with File: redirects.
Fixed script not working on titles with Unicode characters.
V0.3
The script is UCP compatible now.
User can configure script using the window.linkThumbConfig object.
The script now can be used on non-English wikis and can be translated to other languages.
Text above can be found here (edit)