User:TheTechie/navlink.js

let url = "Special:MyPage/common.js"; let image = new Image; mw.util.addPortletLink ( 'p-personal', mw.util.getUrl('Special:MyPage/common.js'), 'Image', 'n-custom', ' ');