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)';

// Comments

if ((mw.config.get('wgCanonicalSpecialPageName') === "GlobalRenameQueue") && document.getElementById('mw-renamequeue-comments')) $('textarea[name="comments"]')[0].value = 'Approved. Please read Changing username if you ever wish to change your username again in the future. Please note we generally do not accept renames before the 12-24 month mark unless a compelling reason is provided. Thank you for choosing Miraheze!';