User:Kuru/uw-sidebar.js

addOnloadHook(	function{	 var c = mw.config.get('wgServer') + mw.config.get('wgScript') + '?title=';	  var bTitle = mw.config.get('wgTitle').split('/')[0];	  var bPageName = mw.config.get('wgPageName').split('/')[0];      // add      mw.util.addPortletLink('p-tb', c+'WP:AN', "Admin noticeboard", 'tb-an');	} );