User:DannyS712/Userspace.js

mw.loader.using('mediawiki.util',function{	var username = mw.config.get('wgUserName');	$(mw.util.addPortletLink('p-tb', '#', 'Search own userspace', 'aca-usearch')).click(function{ var input = prompt("Enter the subpage you wish to open (User:" + username + "/??)"); if (input) window.location.href = "https://en.wikipedia.org/wiki/User:" + username + "/" + input; }); });