User:∫/common.js

// Automatic file fixing if (wgPageName.indexOf("Special:MovePage/File:") != -1 || (wgCanonicalNamespace == "File" && Storage)){ LIRoptions = { bottomMessage: 'This appears below the buttons on Special:MovePage', editSummary: 'Updating file link (automatic)', singleButtonText: 'Rename and replace', queueButtonText: 'Rename and add to queue' }  importScriptPage("FileUsageAuto-update/code.js", "dev"); } // Unchecks redirects when moving files if (wgPageName.indexOf("Special:MovePage/File:") != -1) { $('input#wpLeaveRedirect').removeAttr('checked'); }