Description | Change the target of files' redlinks |
---|---|
Status | Stable |
First released | June 1, 2019 |
Version | 1.0 |
Updated | 01:52, 1 June 2019 (UTC) |
Skins | Vector |
Source | User:DannyS712/Red files.js |
By default, embedding a file that doesn't exist creates a link to the upload wizard. This script changes those links to instead point to the file's page, to easily find any deletions or other log entries.
This script can be imported to skin.js or common.js by adding:
importScript('User:DannyS712/Red files.js'); // [[User:DannyS712/Red files.js]]
or
{{subst:Iusc|User:DannyS712/Red files.js}}