User:Emma/monobook.js

importScript('MediaWiki:admin.js');

// // addScript // adds a 'user scripts' link to the toolbox bar, which links to the user's personal monobook.js page //

addOnloadHook(function {    if ( wgCanonicalNamespace == "Special" )        return;  // don't display link for special pages

url = wgServer + "/Special:MyPage/monobook.js";

addPortletLink("p-tb", url, "User scripts", "pt-js"); }); //