Jump to content

User:PiRSquared17/common.js

From Simple English Wikipedia, the free encyclopedia
Revision as of 04:24, 24 December 2013 by PiRSquared17 (talk | changes) (dfnvkdfnvjkdfnjkdf)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
$(document).ready(function() {
   $('<div class="portlet portal expanded" id="p-wl" role="navigation"><h3>Watchlists</h3><div class="pBody body"></div>').insertAfter("#p-tb")
   mw.util.addPortletLink("p-wl", "//en.wikipedia.org/wiki/Special:Watchlist", "enwiki Watchlist");
   mw.util.addPortletLink("p-wl", "//simple.wikipedia.org/wiki/Special:Watchlist", "simplewiki Watchlist");
   mw.util.addPortletLink("p-wl", "//www.wikidata.org/wiki/Special:Watchlist", "Wikidata Watchlist");
   mw.util.addPortletLink("p-wl", "//meta.wikimedia.org/wiki/Special:Watchlist", "Meta Watchlist");
   mw.util.addPortletLink("p-wl", "//commons.wikimedia.org/wiki/Special:Watchlist", "Commons Watchlist");
});
$(document).ready(function(){mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&ctype=text/javascript&action=raw');});