User:Jdm280/global.js

importArticles({ type: 'script', articles: [       'u:dev:User:Jdm280/BackToTopButton.js',        'u:dev:AjaxPatrol/code.js'    ] });

importScriptURI('http://dev.wikia.com/wiki/BotoneraPopups/Code/en.js?action=raw&ctype=text/javascript&templates=expand'); importStylesheetPage('BotoneraPopups/code.css', 'dev');

var spa = { namespaceNum: mw.config.get('wgNamespaceNumber'), namespace: mw.config.get('wgCanonicalNamespace'), pagename: mw.config.get('wgTitle'), server: mw.config.get('wgServer'), language: mw.config.get('wgUserLanguage'), username: mw.config.get('wgUserName'), action: mw.config.get('wgAction') };

console.log('Server: ' + spa.server + ' Namespace: ' + spa.namespace + '(' + spa.namespaceNum + ') Pagename: ' + spa.pagename + ' Action: ' + spa.action + ' Username: ' + spa.username);