User:Waldyrious/common.js

From Wikipedia, the free encyclopedia
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.
/**
 * Settings for the Navigation Popups gadget.
 */
window.popupFixRedirs = true;
window.popupFixDabs = true;
window.popupOnEditSelection = false;
window.popupActionsMenu = false; // integrate actions menu into the article title itself
window.popupSummaryData = false; // don't show stats, etc.
window.popupLazyDownloads = false; // start downloads as soon as you mouseover a link, rather than only when the popup is shown
window.popupLazyPreviews = false;
window.popupHideDelay = 0.3;

/**
 * Settings for the Syntax Highlighter gadget.
 */
syntaxHighlighterConfig = {
    defaultColor: "LightGray", //for any recognized syntax whose color isn't specified
    boldColor: "Orange",
    italicColor: "LightGreen",
    headingColor: "Gold",
    listAndIndentColor: "NavajoWhite",
    signatureColor: "Coral",
    tableColor: "PeachPuff",
    templateColor: "SandyBrown",
    parameterColor: "Wheat",
    externalLinkColor: "Thistle",
    wikilinkColor: "PowderBlue",
    tagColor: "Khaki",
    hrColor: "",
    entityColor: "RosyBrown"
};

/**
 * Unwatch pages directly from watchlist.
 * Backlink: [[User:Js/watchlist.js]]
 */
unwatchLinksOnLoad = true;
wlNoTabs = true;
importScript('User:Js/watchlist.js');
 
/**
 * References segregator.
 * Includes functionality to convert references to the list-defined format:
 * [[Help:List-defined references]]
 * Backlink: [[User:PleaseStand/segregate-refs.js]]
 */
var SegregateRefsJsAllowConversion = true;
importScript('User:PleaseStand/segregate-refs.js');

/**
 * Add "since" links at [[Special:Contributions]].
 * Backlink: [[User:Waldyrious/sinceContribs.js]]
 */
importScript('User:Waldyrious/sinceContribs.js');
 
/**
 * Live-update the {{User:UBX/LiveEditCounter}} userbox.
 */
importScript('User:UBX/LiveEditCounter.js');

/**
 * Live-update the {{User:UBX/edit rate}} userbox.
 */
importScript('User:UBX/edit-rate.js');

/**
 * AutoEd: tool to perform automated edits (customizable).
 * Backlink: [[Wikipedia:AutoEd]]
 */
importScript('Wikipedia:AutoEd/complete.js');

/**
 * Add Citoid link to the sidebar.
 */
importScript('User:Salix alba/Citoid.js');

/**
 * Add [[meta:Web2Cit]] support to VisualEditor's Cite dialog.
 */
importScript('User:Diegodlh/Web2Cit/script.js');

/**
 * Add sidebar link to find instances of the current page title in pages that don't link to it
 * [[User:Lourdes/Backlinks]] 
 */
importScript('User:Lourdes/Backlinks.js');