MediaWiki:Gadget-RenameReason.js

/** * From Wikimedia Meta-Wiki, author m:User:DerHexer * Adds a log reason automatically linking to the request in the global rename queue if ((mw.config.get('wgCanonicalSpecialPageName') === "GlobalRenameQueue") && document.getElementById('mw-renamequeue-reason')) $('input[name="reason"]')[0].value = 'Requested (Steward action)';