Jump to content

User:Ziggy Sawdust/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.
// [[User:Pyrospirit/scriptpackage.js]]

/*

This is a collection of JavaScript assembled by [[User:Pyrospirit]]. I haven't written 
any of this myself, but I use all of it and find it very useful.

These scripts are designed for use in Firefox and will all work in Firefox. Most of the 
scripts won't work in Internet Explorer, and I have no idea what will happen with other 
browsers. Solution: get Firefox.

I'm somewhat of a newbie with JavaScript, so please report any problems with these 
scripts to whomever wrote the script or ask at [[Wikipedia:Village pump (technical)]].

To decrease loading time, I've set many scripts only to run on certain types of pages. 
So, if a script isn't showing up, it might be because you'd almost never use it on the 
page you're on anyway.

*/

/*
== Scripts in this area are enabled in all browsers ==
*/

// [[User:Lupin/popups.js]] - navigation popups
if(wgAction!='edit' && wgAction!='submit')
importScript('User:Lupin/popups.js');

// [[User:Jsimlo/shortcuts.js]] - customized sidebar links
importScript('User:Jsimlo/shortcuts.js');

function shortcutsInit ()
{

  shortcutsAddLink ( 'Monobook.js', 'Special:Mypage/monobook.js' );
  shortcutsAddLink ( 'New pages', 'Special:Newpages' );
  shortcutsAddLink ( 'AIV', 'Wikipedia:Administrator intervention against vandalism' );
  shortcutsAddLink ( 'Orphans', 'Category:Orphaned articles from July 2006' );
  shortcutsAddLink ( 'Nocats', 'Category:Uncategorized from May 2009' );
  shortcutsAddLink ( 'Cleanup', 'Category:Cleanup from October 2006' );
  shortcutsAddLink ( 'AIV', 'Wikipedia:Administrator intervention against vandalism' );
  shortcutsAddLink ( 'Help desk', 'Wikipedia:Help desk' );
  shortcutsAddLink ( 'RD:COMP', 'Wikipedia:Reference desk/Computing' );
  shortcutsAddLink ( 'RD:ENT', 'Wikipedia:Reference desk/Entertainment' );
  shortcutsAddLink ( 'RD:HUM', 'Wikipedia:Reference desk/Humanities' );
  shortcutsAddLink ( 'RD:LANG', 'Wikipedia:Reference desk/Language' );
  shortcutsAddLink ( 'RD:MATH', 'Wikipedia:Reference desk/Mathematics' );
  shortcutsAddLink ( 'RD:SCI', 'Wikipedia:Reference desk/Science' );
  shortcutsAddLink ( 'RD:MISC', 'Wikipedia:Reference desk/Miscellaneous' );

}