Project talk:Sandbox

var conf = mw.config.get([   'wgCanonicalNamespace',    'wgTitle',    'wgPageName' ]); // Only do the following on the Project:Sandbox page. if ( conf.wgCanonicalNamespace === 'Project' && conf.wgTitle == 'Sandbox' ) { // 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:Log', { page : conf.wgPageName } ), 'Logs' );   } ); }