User:TheGoldenPatrik1/global.js

/***********************************************************************/ /***************************** Assorted Code ***************************/ /***********************************************************************/ /* BiglistButton | By KockaAdmiralac */ if (mw.config.get("wgCityId") === "65099") { $('#WikiaBar .toolbar .tools').append(       $('').append( $('', {               href: mw.util.getUrl('Report:Spam/Biglist'),                text: 'Biglist'            }) )   ); }//End BiglistButton */

/* Modified ToggleDebugMode | Using Code by Cqm */ 'use strict'; var conf = mw.config.get([       'debug'    ]); function init { var href; if (conf.debug) { href = location.href.replace(/[?&]debug=.+?([&#]|$)/, '$1'); } else { href = location.pathname + location.search + (location.search ? '&' : '?') + 'debug=1' + location.hash; }       $('#WikiaBarWrapper .tools, #p-tb ul').append(            $('')                .addClass('dev-debugmode')                .append( $('') .attr({                           href: href,                            id: 'dev-debugmode-toggle'                        }) .css('cursor', 'pointer') .text(                           conf.debug ?                                 'Un-Debug' :                                'Debug'                        ) )       );    }    $(init); }(jQuery, mediaWiki));//End MTDM */
 * (function ($, mw) {

/***********************************************************************/ /************************ Import Configurations ************************/ /***********************************************************************/ batchDeleteDelay = 250; massProtectDelay = 500; nullEditDelay = 250; WHAMDelay = 500; WHAMDeleteReason = 'Cleanup.'; window.AutoCreateUserPagesConfig = { content: { 2: ,       1202:     } }; window.customCodeQuickLinks= { replaceAllDefaultLinks: false, linkSet: { userFiles: [ {               name: 'Universal.css', href: '//c.wikia.com/wiki/User:TheGoldenPatrik1/universal.css' },           {                name: 'Sandbox', href: '/wiki/Special:MyPage/Sandbox' },           {                name: 'To Do List', href: '/wiki/User:TheGoldenPatrik1/To Do List' }       ],        siteFiles: [ {               name: 'Themes.css', href: '/wiki/MediaWiki:Themes.css' },           {                name: 'Staff.css', href: '/wiki/MediaWiki:Staff.css' },           {                name: 'ProfileTags', href: '/wiki/MediaWiki:ProfileTags' }       ],    } }; window.AjaxThreadDeleteConfig = { fastDelete: true, reason: 'Cleanup.' }; window.AjaxDelete = { autoCheckWatch: false, };//End Configurations */ /***********************************************************************/ /******************************* Imports *******************************/ /***********************************************************************/ importArticles({   type: 'script',    articles: [        'u:community:User:TyA/AutoEditDropdown.js',        'u:dev:AjaxBatchDelete/code.2.js',        'u:dev:AjaxDelete/code.js',        'u:dev:AjaxThreadDelete/code.js',        'u:dev:AjaxUndo/code.js',        'u:dev:AnchoredRollback/code.js',        'u:dev:BlogLink/code.js',        'u:dev:CodeQuickLinks/code.js',        'u:dev:EditConflictAlert/code.js',        'u:dev:FindAndReplace/code.js',        'u:dev:GlobalEditcount/code.js',        'u:dev:MassCategorization/code.js',        'u:dev:MassEdit/code.js',        'u:dev:MassNullEdit/code.js',        'u:dev:MassProtect/code.js',        'u:dev:MastheadGender/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:QuickDiff/code.js',        'u:dev:SeeMoreActivityButton/code.js',        'u:dev:ShowUserGroups.js', 'u:dev:UnhideUserMasthead/code.js', 'u:dev:ViewDeleted/code.js', 'u:dev:VSTFReport.js', 'u:dev:WallGreetingButton/code.js', 'u:dev:WHAM/code.2.js', 'u:kocka:User:KockaAdmiralac/AutoCreateUserPages.javascript', 'u:thegoldenpatrik1:User:TheGoldenPatrik1/CHD.javascript' ] });//End Imports */