User:Waacstats/vector.js

//Detect IE5.5+ if (navigator.appVersion.indexOf("MSIE")==-1) { /* */ function save23 { document.editform.wpSummary.value = 'Stub-sorting. You can help!'; document.editform.submit; } // Create a tab that calls this function when pressed $(function { if (mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk") {     return;  }  if (document.editform) {     mw.util.addPortletLink("p-cactions", "javascript:save23", "save", "ca-cleanup", "Stub sort", "");  } }); /* */ //// importScript('User:Ais523/stubtagtab2.js'); //importScript('User:Bradv/splitpreview.js'); }

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