User:DiegoFire Network/global.js

/* /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ /\/\/\/\/\   TOOLS     /\/\/\/\/\/\ /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

/* Utilites */ window.AjaxUndoMinor = true;

window.MassEditConfig = { interval: 2500, placement: { element: "globalnav", type: "append" } };

window.blogLinkConfig = { activity:false  // Hides UserProfileActivity link };

var lang = mw.config.get('wgContentLanguage'); window.FCButtons = [ {       label: 'Create user page', target: 'User:DiegoFire_Network', summary: 'Creating userpage (script)', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', },   {        label: 'Crear página de usuario', target: 'Usuario:DiegoFire_Network', summary: 'Generando página de usuario (script)', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'es' },   {        label: 'Vandalism', target: 'User:DiegoFire_Network', summary: 'Creating userpage', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', }, ]; /** Imports **/ mw.loader.using('mediawiki.util').then(function { importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:CodeQuickLinks/code.js', 'u:dev:MediaWiki:AnalyticsShortcut.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:SyntaxHighlight.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:SocialActivityModern.js', 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:QuickDiff/code.js', 'u:dev:MediaWiki:AjaxEditPreview.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:MediaWiki:SeeMoreActivityButton/code.js', 'u:dev:MediaWiki:DecodeURI/code.js', 'u:dev:MediaWiki:BlogLink/code.js', 'u:dev:MediaWiki:AjaxUndo/code.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', ] }); });