Jump to content

User:Quiddity/vector.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Quiddity (talk | contribs) at 21:42, 26 March 2014 (rvtests). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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.
// STANDARD:

// Highlight your own username – in talkpages and history pages – no need for custom signature – color tweaked in user.css
importScript('User:ais523/highlightmyname2.js'); // [[User:ais523/highlightmyname2.js]]

// Highlight admin names – color tweaked in user.css
importScript('User:Amalthea/userhighlighter.js'); // [[User:Amalthea/userhighlighter.js]]

// [[User:Lupin/popups.js]]
popupDelay=0.3;
popupHideDelay=0.3;
popupFixDabs=true;
popupOnEditSelection=false;
popupAdminLinks=true;

// [[User:Js/ajaxPreview]] – Shows both "preview" and "changes" with Ajax, much faster than standard preview/changes buttons.
importScript('User:Js/ajaxPreview.js');
ajaxPreviewPos = 'bottom';  // Buttons on the bottom, replacing standard buttons.

// Link Classifier (run on demand version) - change link colors for redirects, disambigs, afds, etc – color tweaked in user.css
LinkClassifierOnDemand=true;
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
addOnloadHook(function() {addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'Link Classifier');});

// Semi-automated article cleanup [[Wikipedia:AutoEd]]
importScript('Wikipedia:AutoEd/basic.js');

// Change the color of talkpage tabs, if they just contain banners, or are redirects
importScript('User:Anomie/talklink.js'); // Linkback: [[User:Anomie/talklink.js]]
importStylesheet('User:Anomie/talklink.css'); // Linkback: [[User:Anomie/talklink.css]]

// Default expand the "View templates on this page" and "View hidden categories on this page" on initial edit
document.cookie='templates-used-list=expanded';
document.cookie='hiddencats-list=expanded';

// Add info on userpages listing their flags, account-age, contributions-count, and last-edit-time
importScript("User:PleaseStand/userinfo.js");

// Show ToC limit, if limited
importScript('User:Gary_King/show_TOC_limit.js');
    
// Expand all grouped RC/Watchlist entries. (Credit to [[m:User:PiRSquared17]]
$(window).load(function() { $('.mw-enhancedchanges-arrow').click(); });

// TESTING:
importScript('MediaWiki:Wdsearch.js');

// inlineDiffDocs
inspectText = "+";
hideText = "-";
showText = "+";
importScript('User:Writ Keeper/Scripts/commonHistory.js');