User:JustSys/common.js

importScript('User:Gary/enhanced random article.js'); // User:Gary/enhanced random article.js enhancedRandomArticle = { patterns: [], showDisambiguationPages: false, showStubs: false };

importScript("User:GregU/randomlink.js");

addOnloadHook( function {	 mw.util.addPortletLink('p-navigation', 'javascript:randomLink("Special:WhatLinksHere")', 'Random back-link', 'n-randomback', 'Random page that links here');	 mw.util.addPortletLink('p-navigation', 'javascript:randomLink("Special:AllPages",4)', 'Random page', 'n-randompage2', 'Load a random article, the slow way');     mw.util.addPortletLink('p-navigation', 'javascript:randomLink("Wikipedia:Featured articles")', 'Featured article', 'n-randomfa', 'Pick a random featured article'); });