User:Russblau/common.js View history

Revision as of 20:52, 18 June 2014 by Russblau (talk | contribs) (Created page with "// w:User:Lupin/popups.js popupNavLinkSeparator = ' · '; popupShortcutKeys = true; // optional: enable keyboard shortcuts popupAdminLinks = true; // optional: ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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))';

importScriptURI("http://en.wikipedia.org/wiki/User:Lupin/popups.js");