User:Shardsofmetal/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:Shardsofmetal/vector.css. |
// [[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');