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.

// Test loading popups as I would from another wiki

mw.loader.load('https://en.wikipedia.org/w/load.php?modules=ext.gadget.Navigation_popups');



// [[Wikipedia:Tools/Navigation_popups|Popups]] settings

window.popupStructure = 'fancy';             // Make title slightly bigger

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.popupPreviewKillTemplates = false;    // Show transcluded templates as wikitext (instead of just removing them from from the preview)

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



// Vote symbols

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