User:Quiddity/vector.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Quiddity/vector.css. |
// STANDARD:
// Highlight admin names – color tweaked in user.css
importScript('User:Amalthea/userhighlighter.js'); // [[User:Amalthea/userhighlighter.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.
// importScript('User:Anomie/ajaxpreview.js'); // Linkback: [[User:Anomie/ajaxpreview.js]]
// 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-dev.js");
// Show ToC limit, if limited
importScript('User:Gary_King/show_TOC_limit.js');
// inlineDiffDocs
inspectText = "+";
hideText = "-";
showText = "+";
importScript('User:Writ Keeper/Scripts/commonHistory.js');
// TESTING:
// Reasonator in Search results
importScript('MediaWiki:Wdsearch.js');
/**
* Time to wait in ms before showing a popup on hover
* @property POPUP_DELAY
*/
mw.popups.render.POPUP_DELAY = 1000;
/**
* Time to wait in ms before closing a popup on de-hover
* @property POPUP_CLOSE_DELAY
*/
mw.popups.render.POPUP_CLOSE_DELAY = 300;
/**
* Time to wait in ms before starting the API queries on
hover, must be <= POPUP_DELAY
* @property API_DELAY
*/
mw.popups.render.API_DELAY = 500;