User:Miss Toki/global.js

window.AjaxBlock = { blockReasons: { 'Inserting false information': 'Inserting false information', 'Removing content from pages': 'Removing content from pages', 'Inserting nonsense/gibberish into page(s)': 'Inserting nonsense/gibberish into page(s)', 'Intimidating behavior/harassment': 'Intimidating behavior/harassment', 'Uploading inappropriate images/videos': 'Uploading inappropriate images/videos', 'Spamming comments/forum threads': 'Spamming comments/forum threads', 'Spam': 'Spam', 'Vandalism': 'Vandalism', "Violation of Fandom's Terms of Use":"ToU violation", 'Abusing multiple accounts': 'Multiaccounts' },   check: { talk: false, autoBlock: true, override: false } };

// AjaxBlock setting

window.ajaxRefresh = 30000; // AjaxRC time setting batchDeleteDelay = 500; // AjaxBatchDelete delay

WHAMDelay = 100; // WHAM time setting

// Rollback window.ModifiedRollbackSummary = "Reverting vandalism.";

// WHAM window.WHAMDelay = 1000; window.WHAMDeleteReason = "Cleanup";

window.announcementsIgnore = { option: 'opt-out-all', exceptWikiIds: [ 177,     // Community Central (English) 3439,    // Community Central (Japanese) 7857,    // Vocaloid Wiki (English) 7931,    // Fandom Developers Wiki 10261,   // Community Central (French) 557670,  // Vocaloid Wiki (French) 658996,  // Candy Crush Wiki 961714,  // Diamond Digger Saga Wiki 1065982, // Candy Crush Soda Wiki 1263005, // Candy Crush Jelly Wiki 1539060, // Candy Crush Friends Wiki 2064151, // Piapro Studio Wiki (English) 2121587  // Piapro Studio Wiki (French) ] };

var MultiUploadoption = { max: 20, }; // MultiUpload

var lang = mw.config.get('wgContentLanguage');

window.FCButtons = [ /*Only use for the Wikis where I am really active      */ /*Usage uniquement pour les wikis lorsque je suis active*/ {       label: 'User page!', target: 'User:TokihikoH11', summary: 'Userpage generation', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'en' },   {        label: 'Page utilisateur !', target: 'Utilisateur:TokihikoH11', summary: 'Génération de ma page utilisateur', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'fr' },   /*For other Wikis (aka "just passing and nothing more")*/ /*Pour les autres wikis                               */ {       label: 'Not here!', target: 'User:TokihikoH11', summary: 'Not here! — Userpage generation', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'en' },   {        label: 'Pas ici !', target: 'Utilisateur:TokihikoH11', summary: 'Pas ici ! — Génération de ma page utilisateur', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'fr' },   /*Message Wall Greeting*/ {       label: 'MWG', target: 'Message Wall Greeting:TokihikoH11', summary: 'Message Wall Greeting generation', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'en' },   {        label: 'BMD', target: 'Bienvenue mur discussion:TokihikoH11', summary: 'Génération de l\'en-tête de mur de discussion', content: '', alwaysDisplay: true, placement: '.wds-global-navigation__user-menu .wds-list', require: lang === 'fr' } ];

/*Pre-definite edit summaries. */ /*Résumés de modification prédéfinis.*/ window.dev = window.dev || {}; window.dev.editSummaries = { css: false, select: [ 'Summaries / Résumés de modification', 'Common / Général',[ /*User page      */ /*Page utilisateur*/ 'Updated status', 'Mise à jour de mon statut', /* French */ /*User talk               */ /*Page de disc. utilisateur*/ 'response', 'réponse', 'Vocaloid Wiki (English)', [ /*Specific to Vocaloid Wiki (English)*/ 'View count updated (bot faillure) [minor]', 'Formatting [minor]', '+fr [minor]' ],       'Vocaloid Wiki (Français)', [  /*Spécifique au Vocaloid Wiki (Français)*/ 'Nombre de vues mise à jour (bot défectueux) [mineur]', 'Retouche [mineur]', '+fr [mineur]' ],        /*For VSTF reports*/ 'VSTF Wiki', [ '+1 [quick report]', '+2 [quick report]', '+5 (Wikia Watchers)', ],           'Dev Wiki',[ '+ Languages bar', '+ fr translations' ]   ] ]};

/*JS tools*/ importArticles({   type: "script",    articles: [        'u:dev:MediaWiki:AbuseLogRC.js', // AbuseLog Recent Changes        'u:dev:MediaWiki:AjaxBatchDelete/code.2.js', // Batch Delete        'u:dev:MediaWiki:AjaxBlock/code.js', // AjaxBlock        'u:dev:MediaWiki:AjaxRC/code.js', // Auto Refresh        'u:dev:MediaWiki:AnchoredRollback/code.js',        'u:dev:MediaWiki:AnnouncementsIgnore.js', // AnnouncementsIgnore        'u:dev:MediaWiki:BackToTopButton/code.js', // Adding 'Back to top' button        'u:dev:MediaWiki:CategoryQuickRemove.js',        'u:dev:MediaWiki:ContribsLink/code.js', // ContribsLink        'u:dev:MediaWiki:DisableInfoboxBuilder.js',        'u:dev:MediaWiki:Discussions Delete All/code.js',         'u:dev:MediaWiki:DiscussionsFeed.js', // DiscussionsFeed        'u:dev:MediaWiki:DiscussionsRailModule/code.js',        'u:dev:MediaWiki:DiscussionsRC.js', // Discussion Recent Changes 'u:dev:MediaWiki:DynamicImages/code.js', // Dynamic Images 'u:dev:MediaWiki:EditBio/code.js', // Edit Bio section on profile on any device 'u:dev:MediaWiki:EditConflictAlert/code.js', 'u:dev:MediaWiki:FastCreate.js', // Userpage generation 'u:dev:MediaWiki:FindAndReplace/code.js', 'u:dev:MediaWiki:FileUsageAuto-update/code.js', // Automatically updates file links 'u:dev:MediaWiki:GlobalEditcount/code.js', // Global edits count 'u:dev:MediaWiki:GlobalNavButtons.js', // Global navigation 'u:dev:MediaWiki:LastEdited/code.js', // LastEdited 'u:dev:MediaWiki:MassEdit/code.js', // MassEdit 'u:dev:MediaWiki:MassCategorization/code.js', // MassCategorization (Category automatic cleanup script) 'u:dev:MediaWiki:MassProtect/code.js', // Protecting massive amount of articles 'u:dev:MediaWiki:MassRename/code.js', // Rename multiple pages 'u:dev:MediaWiki:MassRenameRevert/code.js', // Revert pages move 'u:dev:MediaWiki:MultipleFileDelete/code.js', // MultipleFileDelete (Seems only work properly on Special:PrefixIndes page) 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:MobileEditor.js', // Mobile Editor 'u:dev:MediaWiki:MultiUpload/code.js', // Multi uploading images 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:PageCreator/code2.js', // PageCreator 'u:dev:MediaWiki:PrivateMessageAlert/code.js', // Private message alert 'u:dev:MediaWiki:ProtectionIcons.js',// Lock icons for protected pages 'u:dev:MediaWiki:PurgeButton/code.js', // Adding 'Refresh' option to page control 'u:dev:MediaWiki:QuickToolsv2/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', // Redirect management 'u:dev:MediaWiki:ReportFormatter.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:RollbackSpamUserContribs/code.js', 'u:dev:MediaWiki:SearchSuggest/code.js', // SearchSuggest 'u:dev:MediaWiki:ShowUserGroups.js', // Show User Groups 'u:dev:MediaWiki:Standard Edit Summary/code.js', // Standard Edit Summary 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:UserCheck/code.js', 'u:dev:MediaWiki:ViewRemoved/code.js', 'u:dev:MediaWiki:View_Source/code.js', // View Source tag added on edit button menu 'u:dev:MediaWiki:VSTFReport.js', 'u:dev:MediaWiki:WHAM/code.2.js' ] });