Jump to content

User:Markhurd/monobook.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.
if(wgAction == 'edit') {
    $(function minorEdit() {
       var wMe=document.getElementById('wpMinoredit');
       if(wMe !== null) {
         wMe.checked = true;
       }
    }
)}

// [[User:Markhurd/popups.js]]
// importScript('User:Markhurd/popups.js');

/* document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Markhurd/popups.js' 
             + '&action=raw&ctype=text/javascript"></script>');
*/

// [[User:Lupin/popupsdev.js]]
// importScript('User:Lupin/popupsdev.js');

// [[User:Lupin/popups.js]]
// importScript('User:Lupin/popups.js');

window.popupWatchRedirredPages=true;
window.popupWatchDisambiggedPages=true;
var toFix = true;

// In special pages, histories and previews disable them
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'Special' ||
	$.inArray( mw.util.getParamValue( 'action' ), [ 'history', 'submit' ] ) !== -1 )
{
	toFix = false;
}
// 
window.popupRedlinkRemoval = toFix;
window.popupFixRedirs = toFix;
window.popupFixDabs = toFix;

// [[User:Lupin/recent2.js]]
//importScript('User:Lupin/recent2.js');

// [[User:Markhurd/recent2.js]]
importScript('User:Markhurd/recent2.js');

//document.write('<script type="text/javascript" src="' 
//             + 'http://en.wikipedia.org/w/index.php?title=User:Markhurd/recent2.js' 
//             + '&action=raw&ctype=text/javascript"></script>');

// [[User:Barticus88/WhatLinksHere.js]]
//importScript('User:Barticus88/WhatLinksHere.js');

/*

// [[User:Gerbrant/edit/top.js]]
importScript('User:Gerbrant/edit/top.js');

// [[User:Where/commentLocalize.js]]
importScript('User:Where/commentLocalize.js');

// [[User:Gary King/localize comments.js]]
importScript('User:Gary King/localize comments.js');

// [[User:Digitalme/aiv.js]]
importScript('User:Digitalme/aiv.js');

// [[Wikipedia:WikiProject User scripts/Scripts/test-enhanced]]
importScript('Wikipedia:WikiProject User scripts/Scripts/test-enhanced');

// [[Wikipedia:WikiProject User scripts/Scripts/Revert tools]]
importScript('Wikipedia:WikiProject User scripts/Scripts/Revert tools');

*/

// [[User:Ais523/hidetopcontrib.js]]
//importScript('User:Ais523/hidetopcontrib.js');

//userHideAllSubsequent=true;

// [[User:Markhurd/hidetopcontrib.js]]
//document.write('<script type="text/javascript" src="' 
//             + 'http://en.wikipedia.org/w/index.php?title=User:Markhurd/hidetopcontrib.js' 
//             + '&action=raw&ctype=text/javascript"></script>');

// [[User:Markhurd/watchcontrib.js]]
//document.write('<script type="text/javascript" src="' 
//             + 'http://en.wikipedia.org/w/index.php?title=User:Markhurd/watchcontrib.js' 
//             + '&action=raw&ctype=text/javascript"></script>');

// [[User:Markhurd/wikEd.js]]
//importScript('User:Markhurd/wikEd.js');
//document.write('<script type="text/javascript" src="' 
//             + 'http://en.wikipedia.org/w/index.php?title=User:Markhurd/wikEd.js' 
//             + '&action=raw&ctype=text/javascript"></script>');