(Created page with "// w:User:Lupin/popups.js popupNavLinkSeparator = ' · '; popupShortcutKeys = true; // optional: enable keyboard shortcuts popupAdminLinks = true; // optional: ...") |
No edit summary |
||
Line 17: | Line 17: | ||
+ ')|(is a .*disambiguation.*page))'; | + ')|(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' ); |
Revision as of 20:54, 18 June 2014
// [[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' );