User:Леонид Розенфельд/monobook.js

/* Example for 021572 -- meta:user:Platonides */ addOnloadHook ( function { if (wgArticleId) mw.util.addPortletLink("p-tb", wgScript + "?curid=" + wgArticleId, "Short url", "t-curid", "Reference using its article id"); } );