User:Devetec/scripts/sidebar.js

function CustomSidebar{ mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Wikipedia:Teahouse", "Teahouse", "tb-Teahouse", "Teahouse Entrance"); mw.util.addPortletLink("p-tb", "https://en.wikipedia.org/wiki/Brookfield,_Wisconsin", "Brookfield", "tb-Brookfield", "Brookfield Wiki Page"); } $(CustomSidebar);