User:ASiplas/Common.js

mw.util.addPortletLink('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+wgPageName+"/"), 'Subpages');