User:PatrickFisher/common.js

// Check "minor edit" by default if (mw.config.get('wgAction') === 'edit') {   addOnloadHook(function    {        document.getElementById('wpMinoredit').checked = true;    }); }