User:Radar33/viewlogs.js

$(function {

var logsAffectingPageLink = "/wiki/Special:Log/?page="+wgPageName; addPortletLink ("p-tb", logsAffectingPageLink, "Page logs", "p-logsByUserLink", "View list of actions affecting this page");

});