User:MyNameIsNeo/vector.js

if(mw.config.get('wgAction') == 'edit') { addOnloadHook(function minorEdit {      document.getElementById('wpMinoredit').checked = true;    }); }