User:Grind24/monobook.js

Source: 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.
importScript('User:Equazcion/ScriptInstaller.js');
//<pre><nowiki>
importScript('User:Js/ajaxPreview.js')
importScript('User:Splarka/ajaxfilemove.js');
importScript('User:Drilnoth/delresized.js');
//importScript('User:Lightdarkness/aiv.js');
//importScript('User:Cacycle/navbox.js');
//importStylesheet('User:Cacycle/navbox.css')
//importScript('User:TheDJ/hreftester.js');
//importScript('User:TheDJ/plugintester.js')
//importScript('User:Alex_Smotrov/iwiki.js');
//importScript('User:TheDJ/sharebox.js');
//importScript('User:MarkS/extraeditbuttons.js');
importScript('User:Dr pda/persondata.js'); //[[User:Dr pda/persondata.js]]
importScript('User:Splarka/sysopdectector.js');
//importScript('User:Splarka/softfocus.js');

// [[User:Zocky/PicturePopups.js]]
//importScript('User:Zocky/PicturePopups.js');

// Folds references sections.
// importScript('User:TheDJ/foldrefs.js');


TwinkleConfig = {
  userTalkPageMode : 'tab'
};

if( (skin == "vector" || skin == "monobook" ) && (
     (navigator.userAgent.indexOf('Firefox' ) != -1) ||
     (navigator.userAgent.indexOf('Opera') != -1 ) ||
     (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Version/2.') == -1) ) )
{
  // twinkle (in development)
  importScript('User:TheDJ/twinkle.js')
  
  // furme a script by [[User:AweenieMan]] (works)
  //importScript('User:AWeenieMan/furme.js');

  // my milky skin
  // importStylesheet('User:TheDJ/milky.css');
}

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

// Navigation popups from Gadget.
// importStylesheet('MediaWiki:Gadget-navpop.css');
//importScript('MediaWiki:Gadget-popups.js');

// This is a private popups version with all the latest known issues fixed. incl. hacks for safari.
//importScript('User:TheDJ/slimpopups.js');
// importScript( 'User:TheDJ/apipopups.js');

popupRevertSummaryPrompt=true;
popupPreviewRawTemplates=true;
popupPreviewKillTemplates=false;
popupPreviewButton=true;
popupFixDabs=true;
popupFixRedirs = true;
popupStructure='menus';
if( navigator.userAgent.indexOf('Safari') != -1 ) {
popupDebug=true;
}

// This is a private version of wikEd used to develop wikEd support for Safari.
//var wikEdSkipBrowserTest = true;
//importScript('User:TheDJ/wikEd dev.js');

// a port of the Commons version of HotCat.js
//importScript('User:TheDJ/Gadget-HotCat.js');
//importScript('User:TheDJ/HotCat-dev.js');

// [[User:Zocky/Picture Popups]]
// CSS document.write issue.
// importScript('User:Zocky/PicturePopups.js');

// Performs basic formatting changes from a tab while editing (works)
//importScript('Wikipedia:WikiProject_User_scripts/Scripts/Formatter');

// Adds a purge tab (works)
// importScript('User:Rparle/monobook.js/purgebutton');

// Section editor (works)
// importScript('User:Supadawg/secedit.js');

// Quick preview (works, disable because wikEd does the same)
// importScript('User:Alex_Smotrov/qpreview.js');

// Sign button (works)
// importScript('Wikipedia:WikiProject User scripts/Scripts/qSig');

// [[User:Krimpet/CH2.js]]
importScript('User:TheDJ/CH2.js');

// Improved diff (works - disabled because wikEd does the same)
// importScript('User:Cacycle/wikEdDiff.js');

// Last.fm player (works)
// importScript('User:TheDJ/lastfm.js');

// Watches an entire Category of pages (works, disabled)
// importScript('User:TheDJ/catwatch.js');
importScript('User:Ais523/catwatchdev.js');

// Lupin's Anti Vandal Tool (broken on Safari)
// if( navigator.userAgent.indexOf( 'Firefox' ) != -1 )
  importScript("User:Lupin/recent2.js");

//Testing Trueman's AVT fork
// importScript( 'User:Philip_Trueman/recent2.js');

// Adds a "Random template" link to the Navigation box
function addLinksInit() {
  mw.util.addPortletLink( 'p-navigation', wgArticlePath.replace('$1','Special:Random/Template'), 'Random template', 'n-randomtemplate', 'Load a random template', null );
  if( wgNamespaceNumber  == 6 ) mw.util.addPortletLink( 'p-tb', 'http://toolserver.org/~magnus/commonshelper.php?interface=' + wgUserLanguage + '&image=' + encodeURIComponent( wgTitle ) + '&lang='+wgContentLanguage + '&reallydirectupload=1&username=' + encodeURIComponent(wgUserName) + '&tusc_user=' + encodeURIComponent(wgUserName), 'CommonsHelper', 't-commonshelper', 'Move image to Commons with CommonsHelper', '1');
  if( wgNamespaceNumber  == 0 ) mw.util.addPortletLink( 'p-tb', 'http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page='+encodeURIComponent( wgPageName ), 'Check deadlinks', 'n-deadlinks', 'Check status of external links', '6' );
}

// [[User:Gracenotes]] rollback summary
//importScript('User:Gracenotes/rollback.js')

// Status switcher
importScript('User:TheDJ/qui-dev.js');

addOnloadHook( addLinksInit );

// This forces the position of the coordinates in the appropriate DOM location
//importScript('User:TheDJ/movecoord.js');
//importStylesheet('User:TheDJ/topelements.css');
//importScript('User:TheDJ/topelements.js');

// load raw SVG images (because I got plenty of bandwith baby.. )
// importScript('User:TheDJ/svg.js');

// Testing improved "edit section" gadget
// importScript('User:TheDJ/Gadget-edittop.js');

//importScript('User:TheDJ/usagecollapse.js');

//importScript('User:Smith609/toolbox.js');

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }
//</pre></nowiki>