// from [http://en.wikipedia.org/w/index.php?title=User:Thebainer/monobook.js&oldid=32546177 User:Thebainer/monobook.js]// adds a 'logs for this page' link to the toolbox bar// if the page is a special page, then no link is displayedaddOnloadHook(function(){if(mw.config.get('wgCanonicalNamespace')=="Special")return;// don't display link for special pagesurl=mw.config.get('wgServer')+"/w/index.php?title=Special:Log&page="+encodeURIComponent(mw.config.get('wgPageName'));addPortletLink("p-tb",url,"Page logs","pt-logs");});