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 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');
// Expand all collapseButton
$(window).load(function() { $('.collapseButton0').click(); });