MediaWiki:Common.js

/* Any JavaScript here will be loaded for all users on every page load. */ var conf = mw.config.get(['wgPageName']); // Add a link to the actions menu to Special:Log for this page. mw.loader.using( 'mediawiki.util', function {    mw.util.addPortletLink( 'p-cactions', mw.util.getUrl( 'Special:Translate', { page : conf.wgPageName } ), 'Translate' ); } );