User:HansM/init.js

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