Jump to content

User:Juanm/vector.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// [[User:Lupin/popups.js]]
//importScript('User:Lupin/popups.js');
//popupRedlinkRemoval = true;
//end of navigation popup stuff

importScript('User:Lupin/recent2.js');
importScript('User:AzaToth/twinkle.js');
importScript('User:AWeenieMan/furme.js');
importScript('Wikipedia:AutoEd/complete.js');
importScript('User:AWeenieMan/furme.js');
autoEdClick = false;
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]

if(wgAction == 'edit') {
    addOnloadHook(function minorEdit() {
       addHandler(document.getElementById('wpMinoredit'), 'change', minorEdit_change);
       if (document.cookie.indexOf("minorEdit=true")!=-1) {document.getElementById('wpMinoredit').checked = true };
    } )
}
 
function minorEdit_change() {
    var e = new Date();
    e.setTime( e.getTime() + (24*60*60*1000) ); // one day
    document.cookie = 'minorEdit='+document.getElementById('wpMinoredit').checked+';expires=' + e.toGMTString();
}