User:Bob/script/portlets.js

/* All the extra portlet links I like */

addOnloadHook(function{ addPortletLink ('p-tb', 'http://en.wikipedia.org/wiki/Special:Newpages', 'New pages'); addPortletLink ('p-tb', 'http://en.wikipedia.org/wiki/Special:Log/newusers', 'New users'); addPortletLink ('p-personal', 'http://en.wikipedia.org/w/index.php?title=Special:MyPage/monobook.css&action=edit', 'css','pt-css','Edit css',,document.getElementById('pt-logout')); addPortletLink ('p-personal', 'http://en.wikipedia.org/w/index.php?title=Special:MyPage/monobook.js&action=edit', 'js','pt-js','Edit javascript',,document.getElementById('pt-logout')); addPortletLink ('p-navigation', 'http://en.wikipedia.org/wiki/Special:Random/image', 'Random image','n-randomimage','Load a random image','i',document.getElementById('n-randompage')); });