User:Peterdownunder/vector.js

From Simple English Wikipedia, the free encyclopedia

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.
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:ProveIt_GT/ProveIt.js&action=raw&ctype=text/javascript');
// [[User:ProveIt GT/ProveIt.js]]

mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:GregU/dashes.js&action=raw&ctype=text/javascript');

//
(function() {
	
	$(document).ready(function() {
		mw.loader.using( ['mediawiki.util'], function() {
			// show shortcuts if not editing
			if (!mw.config.get('wgEditMessage')) {
				mw.util.addPortletLink("p-navigation", "https://simple.wikipedia.org/wiki/WP:VIP", "WP:VIP");
				mw.util.addPortletLink("p-navigation", "https://simple.wikipedia.org/wiki/WP:AN", "WP:AN");	
				mw.util.addPortletLink("p-navigation", "https://simple.wikipedia.org/wiki/WP:ST", "WP:ST");
				mw.util.addPortletLink("p-navigation", "https://simple.wikipedia.org/wiki/CAT:QD", "CAT:QD");
				return;
			}
		});
	});

}());
//