User:J.delanoy/monobook.js

// SCRIPT:    Page logs link in toolbox // from http://en.wikipedia.org/wiki/Wikipedia:WikiProject User scripts/Scripts/Logs link $(function {    if ( wgCanonicalNamespace == "Special" )        return;  // don't display link for special pages

url = wgServer + "/w/index.php?title=Special:Log&page=" + encodeURIComponent(mw.config.get('wgPageName'));

mw.util.addPortletLink("p-tb", url, "Page logs", "pt-logs"); });