User:Gracefool/common.js

/* General */ // Hide Vector sidebar //vector.js //if (document.getElementById('editform')) { // importScript( 'User:PleaseStand/hide-vector-sidebar.js' ); //}

// Navigation popups importScript('User:Lupin/popups.js'); window.popupStructure = 'original';  //'shortmenus' window.popupShortcutKeys = true;  //false window.popupNavLinkSeparator = ' &middot; '; window.popupRevertSummaryPrompt = true;  //false

// Comments in Local Time LocalComments = { dateDifference: false, dateFormat: 'dmy', timeFirst: false, twentyFourHours: true, dayOfWeek: false, dropDays: 28, dropMonths: 12 };

/* Drop-down menus mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AHaza-w%2Fcactions.js&action=raw&ctype=text/javascript'); // User:Haza-w/cactions.js var cactions = { itabs: true, svars: Array(       ['My userspace', 'https://en.wikipedia.org/wiki/Special:PrefixIndex/User:Gracefool/'],        ['User talk templates', mw.config.get('wgScript') + '?title=Wikipedia:Template_messages/User_talk_namespace&action=view']    ) }; 2do: move all functionality to TemplateScript



/* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor. * @see https://meta.wikimedia.org/wiki/TemplateScript */ $.getScript('//tools.wmflabs.org/meta/scripts/pathoschild.templatescript.js', function { pathoschild.TemplateScript.Add([ { category: 'Being nice', name: 'Welcome', template: ' ··gracefool&#128172; 08:59, 6 September 2014 (UTC)', position: 'after', editSummary: 'Welcome!', forNamespaces: 3 }, { category: 'Being nice', name: 'Hi', template: ' ··gracefool&#128172; 08:59, 6 September 2014 (UTC)', position: 'after', editSummary: 'Hi!', forNamespaces: 3 } ]); });

/* Editing */ //if (typeof(wikEdUseWikEd) != 'undefined') { if (wikEdUseWikEd == true) { /*nw// User:Lenore/autolink plaintext links importScript("User:Lenore/autolink.js"); var autolinkParseLink = false; // bracket matcher importScript('User:Ais523/bracketmatch.js');*/ //}} // Edit autocomplete mw.loader.load('//bits.wikimedia.org/he.wikipedia.org/load.php?debug=false&lang=he&modules=ext.gadget.autocomplete'); /*nw// References segregator editing tool importScript("User:PleaseStand/segregate-refs.js"); //mw.loader.load('//en.wikipedia.org/w/index.php?title=User:PleaseStand/segregate-refs.js&action=raw&ctype=text/javascript');*/

/* Watchlist */ // User:UncleDouggie/smart watchlist //importScript('User:UncleDouggie/smart watchlist.js'); /*nw// Watchlist links importScript('user:js/watchlist');*/ // watch categories //importScript('User:Ais523/catwatch.js'); /* WatchlistConfig = { ignorePages: [ 'Wikipedia talk:Citation templates', 'Wikipedia:AutoWikiBrowser/Typos', ] }; importScript('User:Gary King/hide pages in watchlist.js');*/

/* History */ //Active watchers importScript('User:Equazcion/ActiveWatchers.js');

/* Talk */ // Comment highlighter importScript("User:PleaseStand/highlight-comments.js"); window.highlightCommentsSettings = { highlighterFunction: function( hc ) { hc.addColorForUsers( '#ccffdd', [     mw.config.get( 'wgUserName' ),      '127.0.0.1',      'Zanuga',      'Jimbo Wales',    ] ); hc.wrapComments; hc.addMenuItem; } };

/* User */ // Extra user info importScript("User:PleaseStand/userinfo.js"); // reFill mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

/*nw// User:TheDJ/Qui //vector.js? importScript('User:TheDJ/qui.js');*/

/*Replaced by Gadgets importScript("Wikipedia:WikiProject User scripts/Scripts/Edit Top.js");*/