User:Hftf/common.js

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