User:JamesR/monobook.js

function prefixindex { addPortletLink("p-pi", "http://en.wikipedia.org/wiki/Special:Prefixindex/" + mw.config.get('wgPageName'), "Prefix index", "ca-prefixindex", "View the prefix index"); } $(prefixindex);

function admintasks { addPortletLink("p-ad", "http://en.wikipedia.org/wiki/User:JamesR/admin", "Admin", "ca-admin", "View admin tasks"); } $(admintasks);