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', 'ToU violation':"Violation of Fandom's Terms of Use", 'Abusing multiple accounts': 'Multiaccounts' },   check: { talk: false, autoBlock: true, override: false } };

/*Shortcuts */ /*Raccourcis*/ var globalNavButtons = [ {       text: 'Community', url: 'https://community.fandom.com', isMain: true, whoIsMain: false, shortName: 'C'   }, {       text: 'New users log', url: 'https://community.fandom.com/wiki/Special:Log/newusers', isMain: false, whoIsMain: 'C', shortName: 'NU' },   {        text: 'Recent Activity log', url: 'https://community.fandom.com/wiki/Special:RecentChanges?days=1&limit=250', /*250 or 100 to enhance loading speed, depends of last check time*/ isMain: false, whoIsMain: 'C', shortName: 'RA' },   {        text: 'Abuse Log', /*In case RA doesn't list anything*/ url: 'https://community.fandom.com/wiki/Special:AbuseLog?limit=80', /*80 is enough in general (faster loading speed)*/ isMain: false, whoIsMain: 'C', shortName: 'AL' },   {        text: 'Wikis log', url: 'https://community.fandom.com/wiki/Special:Newwikis', /*In case logs get broken*/ isMain: false, whoIsMain: 'C', shortName: 'WL' },   {        text: 'Profiles', url: 'https://vstf.fandom.com/wiki/Report:User_profile_headers', /*To use when a profile contains spam (header!)*/ isMain: false, whoIsMain: 'V', shortName: 'R:P' },   {        text: 'VSTF', url: 'https://vstf.fandom.com', isMain: true, whoIsMain: false, shortName: 'V'   }, {       text: 'Spam', url: 'https://vstf.fandom.com/wiki/Report:Spam', /*When profile empty, anon IP spamming etc (except "spambot")*/ isMain: false, whoIsMain: 'V', shortName: 'R:S' },   {        text: 'Vandalism', url: 'https://vstf.fandom.com/wiki/Report:Vandalism', /*To use when an user is vandalizing*/ isMain: false, whoIsMain: 'V', shortName: 'R:V' },   {        text: 'Wiki', url: 'https://vstf.fandom.com/wiki/Report:Wiki', /*For spam Wikis*/ isMain: false, whoIsMain: 'V', shortName: 'R:W' },   {        text: 'Biglist', url: 'https://vstf.fandom.com/wiki/Report:Spam/Biglist', /*If number of spam reports in R:S is more than 10 / the "spam bot"*/ isMain: false, whoIsMain: 'V', shortName: 'R:BL' } ];

/*For AjaxBatchDelete*/ window.batchDeleteDelay = 100; window.fdButtons = [{ summary: 'vandalism', label: 'Vandalism', }, {       summary: 'spam', label: 'Spam' }, {       summary: 'Cleanup', label: 'Cleanup' }, {       summary: 'Violation of the Term of Use', label: 'ToU' }, {       summary: 'Housekeeping', label: 'H'   }, { summary: 'vandalisme', label: 'Vandalisme' }, {       summary: 'spam', label: 'Spam' }, {       summary: "Violation des conditions d'utilisation", label: 'CUvio' }, {       summary: 'Ménage', label: 'Ménage' } ];

// 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:DupImageList/code.js', // List of duplicated images (Put to activate) '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:thegoldenpatrik1:MarkForDeletion.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' ] });