User:MathXplore/sidebar.js

// (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://en.wikiversity.org/wiki/CAT:SD", "CSD");					mw.util.addPortletLink("p-navigation", "https://en.wikiversity.org/wiki/WV:RCA", "RCA");				mw.util.addPortletLink("p-navigation", "https://en.wikiversity.org/wiki/Special:CentralAuth", "CentralAuth link");				mw.util.addPortletLink("p-navigation", "https://en.wikiversity.org/wiki/Special:BrokenRedirects", "Broken Redirects");				mw.util.addPortletLink("p-navigation", "https://en.wikiversity.org/wiki/Special:WantedCategories", "WantedCategories");				mw.util.addPortletLink("p-navigation", "https://en.wikiversity.org/wiki/Special:WhatLinksHere", "WhatLinksHere");				return;			}		}); }); });