How to Enable Navigation Popups for Any Wiki

Navigation popups allow you to see a preview of an article by simply hovering over a link. Some wikis offer one the option of enabling navigation popups under 'preferences'. But even if your wiki doesn't offer you this option you can still turn them on.

Steps

  1. Image titled Enable Navigation Popups for Any Wiki Step 1
    1
    First check your preferences to see if there is an option to turn on navigation popups. It should be under 'gadgets'.
  2. Image titled Enable Navigation Popups for Any Wiki Step 2
    2
    If not then you will need to locate your user javascript page for that wiki. If you are using the 'new look' then it will have the address: http://Yourwikisname/wiki/User:Yourusername/wikia.js
  3. Image titled Enable Navigation Popups for Any Wiki Step 3
    3
    add the following line:
    • $.getScript("http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript");
  4. Image titled Enable Navigation Popups for Any Wiki Step 4
    4
    After saving, you have to bypass your browser's cache to see the changes.
    • Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
    • Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
    • Opera users have to clear their caches through Tools→Preferences
    • Konqueror and Safari users can just click the Reload button.
    • Chrome: press Ctrl+F5 or Shift+F5
  5. Image titled Enable Navigation Popups for Any Wiki Step 5
    5
    See http://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups#Options for a list of optional parameters. Pay special attention to popupMaxPreviewCharacters, popupPreviewFirstParOnly and popupMaxPreviewSentences.

Article Info

Categories: Wikis