User:StevenJ81/global.js
Appearance
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.
$.when( $.ready, mw.loader.using( ['mediawiki.util'] )).then( function() {
$('<div class="portal" id="p-wl" role="navigation"><h3>' + (typeof watchlists=='string'?watchlists:'Watchlists') + '</h3><div class="pBody body"></div>').insertAfter("#p-tb");
mw.util.addPortletLink("p-wl", "//en.wikipedia.org/wiki/Special:Watchlist", "Wikipedia");
mw.util.addPortletLink("p-wl", "//simple.wikipedia.org/wiki/Special:Watchlist", "Simple English Wikipedia");
mw.util.addPortletLink("p-wl", "//fr.wikipedia.org/wiki/Special:Watchlist", "Wikipédia");
// mw.util.addPortletLink("p-wl", "//de.wikipedia.org/wiki/Special:Watchlist", "Wikipedia-de");
mw.util.addPortletLink("p-wl", "//he.wikipedia.org/wiki/Special:Watchlist", "וויקיפדיה");
mw.util.addPortletLink("p-wl", "//lad.wikipedia.org/wiki/Special:Watchlist", "Vikipedya");
mw.util.addPortletLink("p-wl", "//la.wikipedia.org/wiki/Special:Watchlist", "Vicipædia");
mw.util.addPortletLink("p-wl", "//jam.wikipedia.org/wiki/Special:Watchlist", "Wikipidia");
mw.util.addPortletLink("p-wl", "//yi.wikipedia.org/wiki/Special:Watchlist", "וויקיפּעדיע");
mw.util.addPortletLink("p-wl", "//www.wikidata.org/wiki/Special:Watchlist", "Wikidata");
// mw.util.addPortletLink("p-wl", "//en.wikivoyage.org/wiki/Special:Watchlist", "Wikivoyage");
mw.util.addPortletLink("p-wl", "//meta.wikimedia.org/wiki/Special:Watchlist", "Meta-Wiki");
mw.util.addPortletLink("p-wl", "//translatewiki.net/wiki/Special:Watchlist", "translatewiki");
// mw.util.addPortletLink("p-wl", "//commons.wikimedia.org/wiki/Special:Watchlist", "Commons");
// mw.util.addPortletLink("p-wl", "//www.mediawiki.org/wiki/Special:Watchlist", "MediaWiki");
mw.util.addPortletLink("p-wl", "//incubator.wikimedia.org/wiki/Special:Watchlist", "Incubator");
});
mw.loader.using(['mediawiki.util', 'mediawiki.api']).then( function () {
mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-LocalLiveClock.js&action=raw&ctype=text/javascript' );
});