User:DiegoFire Network/global.js

window.AjaxUndoMinor = true;

var lang = mw.config.get('wgContentLanguage'); window.FCButtons = [ {       label: 'Create user page', target: 'User:DiegoFire_Network', summary: 'Creating userpage (script)', content: '', alwaysDisplay: true, placement: '.global-navigation__bottom .wds-dropdown .wds-list', prepend: true },   {        label: 'Crear página de usuario', target: 'Usuario:DiegoFire_Network', summary: 'Generando página de usuario (script)', content: '', alwaysDisplay: true, placement: '.global-navigation__bottom .wds-dropdown .wds-list', prepend: true, require: lang === 'es' },   {        label: 'Vandalism', target: 'User:DiegoFire_Network', summary: 'Creating userpage', content: '', alwaysDisplay: true, placement: '.global-navigation__bottom .wds-dropdown .wds-list', prepend: true }, ];

mw.loader.getScript('https://dev.fandom.com/wiki/MediaWiki:ArticlesAsResources.js?action=raw&ctype=text/javascript').then(function {   importArticles({ type: 'script', articles: [ 'u:community:MediaWiki:Van-RedirectCategories.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:AjaxEditPreview.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:DecodeURI/code.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:ThemeToggler.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', ]  }); });