LinkThumb

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.
== ==
== ==
LinkThumb can be configured. For that purpose, you can use the window.linkThumbConfig object with three options:
* width defines the width of the thumbnail. It can't be negative number or zero and defaults to 200 pixels.
* closeTimeout determines the time after which the thumbnail disappears. Defaults to 1 second (1000 milliseconds).
* requestTimeout allows to set the delay of sending the request to API. Minimum value is 500 milliseconds but the best one is 1000.
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.