User:Magiczocker/global.js

//internal stats $('.tools').append( $('').text('env: '+wgWikiaEnvironment+' | NS: '+wgNamespaceNumber+' | lang: '+wgContentLanguage+' | Id: '+wgCityId+' | db: '+wgDBname ) );

function importArticles2(scripts) { var concatScripts = scripts.join('|'); var s = document.createElement('script'); s.setAttribute('src', 'https://community.fandom.com/load.php?articles=' + concatScripts + '&only=scripts&mode=articles' ); s.setAttribute('type', 'text/javascript'); document.getElementsByTagName('head')[0].appendChild(s); }

// FastDelete buttons window.fdButtons = [ {'summary': 'Vandalism', 'label': 'V'}, {'summary': 'Spam', 'label': 'S'}, {'summary': 'Cleanup', 'label': 'C↑'}, {'summary': 'Violation of the ToU', 'label': 'ToU'} ];

importArticles2([	/*'u:community:MediaWiki:Van-RedirectCategories.js',*/	'u:dev:MediaWiki:ShowWROnToolbar.js',	'u:dev:MediaWiki:PortableListUsers.js',	'u:dev:MediaWiki:MassNullEdit/code.js',	'u:dev:MediaWiki:FastDelete/code.js',	'u:dev:MediaWiki:QuickDiff/code.js',	'u:dev:MediaWiki:WHAM/code.2.js',	'u:dev:MediaWiki:JSONViewer.js',	'u:dev:MediaWiki:Nuke/code.js',	'u:dev:MediaWiki:ThemeToggler.js',	'u:dev:MediaWiki:DupeArgs.js', ]);