User:Shardsofmetal/vector.js

Source: 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.
// [[Wikipedia:Tools/Navigation_popups|Popups]] settings
window.popupStructure = 'menus';             // Use full menus
window.popupOnlyArticleLinks = false;        // Enable popups on more links
window.popupMaxWidth = 550;                  // Change the size of the popup
window.popupTocLinks = true;                 // Enable popups on table of contents
window.popupDragHandle = 'popupTitle';       // Move popup by dragging the title
window.popupThumbAction = 'sizetoggle';      // Clicking a popup thumbnail changes the thumbnail size
window.popupFixRedirs = true;                // Option to fix redirects
window.popupFixDabs = true;                  // Option to fix links to disabmiguation pages
window.popupRedlinkRemoval = true;           // Option to remove link to nonexistent pages
window.popupPreviewFirstParOnly = false;     // Don't limit preview to the first paragraph
window.popupMaxPreviewSentences = 20;        // Limit preview sentences to 20 (instead of default of 5)
window.popupMaxPreviewCharacters = 2000;     // Limit preview characters to 2000 (instead of default of 600)
window.popupNavLinkSeparator = ' • '; // Change the html inserted between navigation links
window.popupLazyDownloads = false;           // Start downloads on mouse hover of a link
window.popupLazyPreviews = false;            // Generate previews on mouse hover of a link
window.popupImageSize = 250;                 // Change the thumbnail size
window.popupImageSizeLarge = 300;            // Change the large image size
window.popupMinorReverts = true;             // Marks edits made with popups as minor
window.popupNewWindows = true;               // Open links in popup boxes in a new tab

// [[Wikipedia:Tools/Navigation_popups|Popups]] edit summaries
window.popupFixDabsSummary = "Replaced link to disabmiguation page [[%s]] with link to the intended article [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]"
window.popupFixRedirsSummary = "Replaced link to redirect page [[%s]] with direct link to [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]";
window.popupRedlinkSummary = "Removed link to nonexistent page [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]";
window.popupRmDabLinkSummary = "Removed link to disabmiguation page [[%s]] using [[Wikipedia:Tools/Navigation_popups|popups]]";

// Anti-vandal tool
importScript('User:Lupin/recent2.js');

// Vote symbols
importScript('User:Ais523/votesymbols.js');

// History combiner (histcomb)
importScript('User:Alex Smotrov/histcomb.js')

// TimeTraveler
//importScript('Wikipedia:WikiProject User scripts/Scripts/TimeTraveller.js');

// Popups modification
//importScript('User:Shardsofmetal/popups.js');
//importStylesheet('MediaWiki:Gadget-navpop.css');