Red files
DescriptionChange the target of files' redlinks
StatusStable
First releasedJune 1, 2019; 4 years ago (2019-06-01)
Version1.0
Updated01:52, 1 June 2019 (UTC)
Skin supportVector
SourceUser: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.

Importation

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}}