User:Kaim Amin/img-preview
|
Usage of img-preview.js | |
| Author | Kaim Amin |
|---|---|
| Status | Active |
| Version | 1.0 |
| Updated |
December 19, 2025 (7 months ago) |
| Browser support | Tested with Firefox |
| Source | User:Kaim Amin/img-preview.js |
img-preview (source) is a simple user script which adds a 👁 icon at the end of every wikilink of filepages and displays a preview of the file if the icon is hovered over.
Installation instructions
- Add this to the end of your common.js page:
mw.loader.load('//commons.wikimedia.org/w/index.php?title=User:Kaim Amin/img-preview.js&action=raw&ctype=text/javascript');