User:MECU/monobook.js

From Wikipedia, the free encyclopedia

If a message on your talk page led you here, please be wary of who left it. Code that you insert on this page could contain malicious content capable of compromising your account. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. If this is a .js page, the code will be executed when previewing the page.
Note: After saving, you have to bypass your browser's cache to see the changes. In Internet Explorer and Firefox, hold down the Ctrl key and click the Refresh or Reload button. Opera users have to clear their caches through Tools→Preferences, see the instructions for Opera. Konqueror and Safari users can just click the Reload button.
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  document.write('<script type="text/javascript" src="' 
    + 'http://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js' 
    + '&action=raw&ctype=text/javascript&dontcountme=s"></script>'); }
 
/**** NavPop start****/
 
// [[User:Lupin/popups.js]]
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
popupDelay=1.0
popupHideDelay=.2
popupImages=false
popupSubpopups=false
popupOnEditSelection=false
popupImageLinks=false
popupOnlyArticleLinks=false
popupMaxWidth=800
popupInitialWidth=350
popupLazyDownloads=false
popupLazyPreviews=false
popupFixDabs=true
popupAdminLinks=true
popupRedlinkRemoval=true
 
/**** NavPop end ****/
 
/**** quick image delete ****/
/**** required add-ins ****/
/*
 
*/
 
/*** second required add-in ***/
/*Returns the name of the page. For example, if you were browsing the "[[foo]]" WP page, getPname() would return "foo".*/
function getPname() {
  return wgPageName.replace(/_/g, ' ');
}
 
/*** end required add-ins ***/
 
/**** main quickimagedelete script ****/
document.write('<script type="text/javascript"' +
  'src="http://en.wikipedia.org/w/index.php?title=User:Howcheng/quickimgdelete.js' +
  '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/* This is to keep track of who is using this extension: [[User:Howcheng/quickimgdelete.js]] */
 
/**** MECU's BR fixer ****/
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:MECU/br.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/* This is to keep track of who is using this extension: [[User:MECU/br.js]] */
 
/**** End MECU's BR fixer ****/
 
/**** MECU's SYL fixer ****/
 
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:MECU/syl.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
/* This is to keep track of who is using this extension: [[User:MECU/syl.js]] */
 
/**** End MECU's SYL fixer ****/
 
// change personal links and add a clock
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:MECU/personallinks.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
 
//commons helper
// [[User:Krimpet/CH2.js]]
importScript('User:Krimpet/CH2.js');
 
//Twinkle
//importScript('User:AzaToth/twinkle.js');
//AzaThoth's twinkle script
 
importScript('User:AzaToth/twinkle.js');
 
TwinkleConfig = {
   toolboxButtons: ["tw-prod", "tw-csd", "tw-csd-reason", "tw-rpp", "tw-since", "tw-sincemine","tw-lastdiff"],
 userTalkPageMode                :       'tab',
openUserTalkPageOnSpeedyDelete : ['g1','g2','g10','g11','g12','a1','a7','u3','t1']
};