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 19:48, 11 November 2017 (test). 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 admin names – color tweaked in user.css
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript'); // [[User:Theopolisme/Scripts/adminhighlighter.js]]

// [[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]]
mw.util.addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'Link Classifier');

// 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]]

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

// inlineDiffDocs
importScript('User:Writ Keeper/Scripts/commonHistory.js');

// TESTING: