MediaWiki:Gadget-registro.js

// adds a 'logs for this page' link to the toolbox bar // if the page is a special page, then no link is displayed if ( mw.config.get( 'wgNamespaceNumber' ) != -1) { $( function {       mw.util.addPortletLink( 'p-tb', mw.config.get( 'wgScript' ) + '?title=Special:Log&page=' + encodeURIComponent( mw.config.get( 'wgPageName' ) ), 'Page logs', 't-logs', 'see the logs for this page' );   }); }