User:Russblau/common.js View history

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// [[w:User:Lupin/popups.js]]
 
popupNavLinkSeparator = ' · '; 
popupShortcutKeys = true; // optional: enable keyboard shortcuts
popupAdminLinks = true;   // optional: enable admin links
popupFixDabs = true;
popupFixRedirs = true;
popupOnEditSelection = false;
popupRedirAutoClick = 'wpDiff';
imagePopupsForImages = false;
popupMaxWidth = 512;
popupDabRegexp = '(([{][{]\\s*(([-\\w\\s]*disamb[-\\w\\s]*)'
                            + '|(bio|fish-|geo|math)?dab'
                            + '|(callsign|(geo-?)|hn|hospital|number|pow|(road?)|school)dis'
                            + '|hndis-cleanup|na broadcast list'
                            + ')(\\s*\\|[^}]*)?\\s*[}][}]'
                + ')|(is a .*disambiguation.*page))';

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400' );