User:Zearin/common.js

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