User:Tol/Logs.js

/* Forked from User:DannyS712/Logs.js. Authors: User:DannyS712; User:Tol

mw.loader.using( 'mediawiki.util' ).done( function {	if (mw.config.get('wgNamespaceNumber') >= 0) {		mw.util.addPortletLink ( 'p-cactions', mw.config.get( 'wgServer' ) + '/w/index.php?title=Special:Log&page=' + encodeURIComponent(mw.config.get('wgPageName')), 'Logs', 'ca-pageLogs', 'Logs');	} } );