User:NalexandruN/global.js

$('#Bullshit').html('This JavaScript stuff is cool!'); console.log("If the previous line 'breaks' javascript, then this line won't show in the console.") //Disproves false statement by Wikia Staff: http://community.wikia.com/wiki/Thread:1046047

importScriptPage('', wgUserName);

$(".wds-community-header .wds-dropdown__content, .wds-community-header .wds-dropdown__content .wds-list.wds-is-linked .wds-dropdown-level-2 .wds-dropdown-level-2__content").css("background-color", $(".wds-community-header").css("background-color")); $(".wds-community-header .wds-dropdown__content .wds-list.wds-is-linked li > a").css("color", $(".wds-community-header .wds-community-header__sitename a").css("color"));

//$(".wds-button").removeClass("wds-button").addClass("wikia-button");

$("#ca-ve-edit").remove;

$(function { if (!$("table.diff").length && !$(".ns-special").length && mw.config.get("wgIsEditPage") == null && mw.util.getParamValue('action') != "edit" && mw.util.getParamValue('action') != "submit" && mw.config.get("wgPageName") != "Special:CreateBlogPage") {                                                                                                                                 $(".WikiaArticle *:contains('Fandom')").each(function  { //     $(this).text($(this).text.replace(/FANDOM/ig,"CANCER")); //     $(this).text($(this).text.replace(/Fandom/ig,"CANCER")); });   $(".WikiaArticle *:contains('For technical reasons')").each(function  { $(this).html($(this).html.replace(/For technical reasons/ig,"Due to laziness")); }); } });

$(".wds-global-navigation__logo").html("The home of \"Move on\""); /* As this is Wikia's de facto slogan, it deserves prominent placement */

$(function { /* disabling tracking which is slowing down every page submit */ // $("#editform").off("submit").on("submit", function { $(window).off('.leaveconfirm'); }) });

console.log("c:global loaded 9");

window.TokenRefreshInterval = 360000; window.YouTubePlayerSettings = { defaultTheme: 'dark', }; window.fdButtons = []; window.fdButtons.push(   {        summary: 'Housekeeping',        label: 'HK'    },    {        summary: 'Vandalism',        label: 'VA'    },    {        summary: 'Spam',        label: 'SP'    } );

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:WikiActivity","Special:Contributions"]; window.lastEdited = { timezone: 'EET', }; window.pageCreatorConfig = { useUTC: false, }; window.BackToTopModern = true; window.batchDeleteDelay = 1000; TBL_WIKIS = [ "gta" ]; TBL_PATROL = true; window.UserAndIPTools = { enable: { MultiLookup: true, LookupContribs: true, LookupUser: true, },	openInNewPage: true, disableDebug: true, }; window.autoPurgePages = ["User:NalexandruN/global.js", "User:NalexandruN/global.css"];

importArticles({   type: "script",    articles: [        "w:c:dev:RevealAnonIP/usercode.js"    ] });

importArticles({   type: 'script',    articles: [        'u:dev:MediaWiki:AnalyticsShortcut.js',        'u:community:User:Ursuul/AnalyticsToolbar.js',        'u:dev:MediaWiki:MassRenameRevert/code.js',        'u:dev:MediaWiki:AjaxRC.js',        'u:dev:MediaWiki:AjaxUndo/code.js',        'u:dev:MediaWiki:MoreDropdown/code.js',        'u:dev:MediaWiki:DPLforumBoardCustomization.js',        'u:dev:MediaWiki:NewPagesUser.js',        'u:dev:MediaWiki:ContribsButtons.js',        'u:dev:MediaWiki:View_Source/code.js',        'u:dev:MediaWiki:CopyCodeButton.js',        'u:dev:MediaWiki:TopicBlockLog/code.js',        'u:dev:MediaWiki:AbuseLogRC.js',        'u:dev:MediaWiki:DeleteTalkpage.js',        'u:dev:MediaWiki:AjaxRename/code.js',        'u:dev:MediaWiki:AjaxRedirect/code.js',        'u:dev:MediaWiki:AjaxAbuseLog.js',        'u:dev:MediaWiki:Nuke/code.js',        'u:dev:MediaWiki:TokenRefresh.js', 'u:dev:MediaWiki:ArchiveTool/code.js', 'u:dev:MediaWiki:AllPagesHideRedirect/code.js', 'u:dev:Countdown/code.js', 'u:dev:MediaWiki:TopEditors/code.js', 'u:dev:MediaWiki:TopArticles/code.js', 'u:korniux:SpeedRaw/code.js', 'u:dev:MediaWiki:UnhideUserMasthead/code.js', 'u:dev:MediaWiki:ImprovedFooter/code.js', 'u:dev:QuickThreads/code.js', 'u:dev:MediaWiki:PortableListUsers.js', 'u:dev:MediaWiki:QuickAccessToCSSAndJS/code.js', 'u:dev:MediaWiki:BlogLink/code.js', 'u:dev:MediaWiki:QuickDelete/code.js', 'u:dev:MediaWiki:EntityConvert/code.js', 'u:kocka:MediaWiki:Emoticons/code.js', 'u:dev:MediaWiki:UTCClock/code.js', 'u:dev:MediaWiki:WhatLinksHere/code.js', 'u:dev:MediaWiki:BalancedTabber.js', 'u:dev:MediaWiki:ReferencePopups/code.js', 'u:dev:MediaWiki:MastheadGender/code.js', 'u:dev:MediaWiki:FastDelete/code.js', 'u:dev:MediaWiki:PurgeButton/code.js', 'u:dev:ViewRemoved/code.js', 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js', 'u:dev:MediaWiki:UserInfo.js', 'u:dev:MediaWiki:UserUnusedFiles/code.js', 'u:vstf:User:Joeyaa/wham.js', 'u:dev:MediaWiki:PortableCSSPad/code.js', 'u:dev:MediaWiki:AjaxEditPreview.js', 'u:dev:MediaWiki:AjaxDelete/code.js', 'u:dev:MediaWiki:AjaxBlock/code.js', 'u:dev:MediaWiki:AjaxBatchDelete.js', 'u:dev:MediaWiki:AjaxBatchUndelete.js', 'u:dev:MediaWiki:SearchEnhancements.js', 'u:dev:MediaWiki:BulkVideoUpload.js', 'u:dev:MediaWiki:DraggableYouTubePlayer/code.js', 'u:dev:MediaWiki:CatFilter/code.js', 'u:dev:MediaWiki:AjaxTemplate/code.js', 'u:dev:MediaWiki:AjaxUserRights.js', 'u:dev:MediaWiki:ToggleSideBar/code.js', 'u:thegoldenpatrik1:Rollback.js', 'u:dev:MediaWiki:MarkForDeletion/code.js', 'u:dev:MediaWiki:MassEdit/code.js', 'u:dev:MediaWiki:GlobalNavButtons.js', 'u:dev:MediaWiki:FastCreate.js', 'u:dev:MediaWiki:BotManagement.js', 'u:dev:MediaWiki:MassProtect/code.js', 'u:dev:MediaWiki:MassNullEdit/code.js', 'u:dev:MediaWiki:DeleteUserpage.js', 'u:dev:MediaWiki:MinimalTestModeAlert.js', 'u:dev:MassCategorization/code.js', 'u:dev:MediaWiki:MassRename/code.js', 'u:dev:MediaWiki:DisableCode/code.js', 'u:dev:MediaWiki:RedirectManagement/code.js', 'u:dev:MediaWiki:WikiActivity.js', 'u:dev:MediaWiki:SeeMoreActivityButton/code.js', 'u:dev:MediaWiki:BackToTopButton/code.js', 'u:dev:MediaWiki:ListFiles/code.js', 'u:dev:MediaWiki:CacheCheck/code.js', 'u:dev:MediaWiki:UserAccountAge/code2.js', 'u:dev:MediaWiki:EditIntroButton/code.js', 'u:dev:MediaWiki:UserActivityTab/code.js', 'u:dev:MediaWiki:QuickCreateUserPage/code.js', 'u:dev:MediaWiki:UserActivityLink.js', 'u:dev:MediaWiki:Rollback/code.js', 'u:dev:MediaWiki:EditcountTab.js', 'u:dev:Standard Edit Summary/code.js', 'u:dev:MediaWiki:LakeLinks.js', 'u:dev:MediaWiki:ImageMapEdit.js', 'u:dev:MediaWiki:ImageMapHighlight.js', 'u:dev:MediaWiki:ImageCategory/code.js', 'u:dev:MediaWiki:ImageCompare.js', 'u:dev:MediaWiki:AddSectionButton/code.js', 'u:dev:MediaWiki:WHAM/code.2.js', 'u:dev:MediaWiki:ChromeToolbarColor.js', 'u:dev:MediaWiki:FixPhalanxBlockLinks.js', 'u:dev:MediaWiki:Translator/Translator.js', 'u:dev:MediaWiki:ShareMenu/code.js', 'u:dev:MediaWiki:FileLogs.js', 'u:dev:MediaWiki:UsernameAvailability/code.js', 'u:dev:MediaWiki:EditcountTag/code.js', 'u:dev:MediaWiki:CodeLinksDropdown.js', 'u:dev:MediaWiki:ViewNotificationsUsers.js', 'u:dev:MediaWiki:Bang.js', 'u:dev:MediaWiki:SmoothGlobalNav/code.js', 'u:dev:MediaWiki:UserAndIPTools.js', 'u:dev:MediaWiki:AdminDashboard_JS-Button/code.js', 'u:dev:MediaWiki:FloatingToc/code.js', 'u:dev:MediaWiki:ShowUserGroups.js', 'u:dev:MediaWiki:EditsShare.js', 'u:dev:MediaWiki:CodeQuickLinks/code.js', 'u:dev:MediaWiki:View_Raw/code.js', 'u:dev:MediaWiki:DisplayTimer/code.js', 'u:dev:MediaWiki:MultipleActivity.js', 'u:dev:MediaWiki:MessageBlock/code.js', 'u:dev:MediaWiki:Tooltips.js', 'u:dev:MediaWiki:SOAPReport.js', 'u:dev:MediaWiki:AntiUnicruft/code.js', 'u:dev:MediaWiki:AutoPurge/code.js', 'u:dev:MediaWiki:Discussions Delete All/code.js', 'u:dev:MediaWiki:AnchoredRollback/code.js', 'u:dev:MediaWiki:DisableInfoboxBuilder.js', 'u:dev:MediaWiki:NullEditButton/code.js', 'u:dev:MediaWiki:Discussions Restore All.js', 'u:dev:MediaWiki:HideClearCache.js', 'u:dev:MediaWiki:SandboxTab/code.js', 'u:dev:MediaWiki:RevealAnonIP/usercode.js', 'u:dev:MediaWiki:ProtectionIcons.js', "w:c:a:User:Jr Mime/MarkForTemplate.js", "w:c:answers:MediaWiki:Gadget-HotCat.js", "w:c:mlp:User:Jr Mime/MarkForTemplate/General.js", "w:c:answers:User:The Mol Man/Annihilate.js", 'u:dev:MediaWiki:MarkBlocked.js', 'u:dev:MediaWiki:AdminDashboard_block/code.js', "w:c:rs:User:Quarenon/autowelcome.js", "w:c:ru.siegenax:User:White_torch/naviscript.css", "w:c:rs:User:Suppa_chuppa/undoplus.js", 'u:dev:MediaWiki:ContribsLink/code.js', 'u:dev:MediaWiki:LinkPreview/code.js',/** (SUCKS, TEST) * 'u:dev:MediaWiki:PowerPageMaker/code.js', (BROKEN) * 'w:User:Monchoman45/ChatHacks.js', (BLOCKED) * 'u:dev:MediaWiki:CopyCodeButton.js', (BROKEN) * 'u:dev:MediaWiki:AjaxThreadUnfollow/code.js', (BROKEN) * 'u:dev:MediaWiki:AjaxEdit.js', (BROKEN) * 'u:dev:MediaWiki:PageRenameAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:FileUsageAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:GlobalEditcount/code.js', (BLOCKED) * 'u:dev:MediaWiki:SkinSwitch.js', (BROKEN) * 'u:dev:MediaWiki:EditConflictAlert/code.js', (BROKEN) * 'u:dev:MediaWiki:AjaxDiff/code.js', (BROKEN) * 'u:dev:MediaWiki:ImportJSPage/code.js', (BROKEN) * 'u:dev:MediaWiki:ViewDeleted/code.js', (BROKEN, MODERATOR) * 'u:dev:MediaWiki:QuickTools/code.js', (BROKEN) * 'u:dev:MediaWiki:VanguardTools.js', (BLOCKED) * 'u:dev:MediaWiki:QuickToolsv2/code.js', (BROKEN) * 'u:c:User:Cap123/ChatHacks2.js', (BLOCKED) * 'u:dev:MediaWiki:DiscussionsViewer.js', (BROKEN) * 'u:dev:MediaWiki:MultipleFileDelete/code.js', (BROKEN) * 'u:c:User:Monchoman45/ChatHacks.js', (BLOCKED) * 'u:c:User:Joeytje50/ChatPMs.js', (BLOCKED) * 'u:cod:User:Madnessfan34537/multikick.js', (BLOCKED) * 'u:dev:MediaWiki:DiscussionsRailModule/code.js', (BLOCKED) * 'u:dev:MediaWiki:UserCheck/code.js', (BROKEN) * 'u:dev:MediaWiki:PageMakerPro/code.js', (BROKEN) * importScriptPage('MediaWiki:PowerPageMaker/code.js', 'dev'); (BROKEN) * 'u:dev:MediaWiki:FastOldImageDelete/code.js', (BROKEN) * 'u:dev:MediaWiki:CategoryRenameAuto-update/code.js', (BROKEN) * 'u:dev:MediaWiki:TabKeyInserter/code.js', (BROKEN) * * import chat options * var options=document.createElement('script'); * options.setAttribute('src','https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js'); * options.type='text/javascript'; (BLOCKED) * * 'u:dev:MediaWiki:AutoCreateUserPages.js', (4 NOW, CONFIG) * 'u:dev:MediaWiki:RedirectMaker/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:DupImageList/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:UnifiedControlPanel.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:PatrolRC/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:LangSwitch.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:SearchSuggest/code.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:DiscussionsActivity.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:AdvancedOasisUI/code.js', (AWAITING-CHECK, PERSONAL) * 'u:dev:MediaWiki:CategoryQuickRemove.js', (AWAITING-CHECK) * 'u:dev:MediaWiki:ListSubpages.js', (AWAITING-CHECK, COMMON) * 'u:dev:MediaWiki:QuickLogs/code.js', (SUCKS) * 'u:dev:MediaWiki:ArticlePreview/code.js', (SUCKS) * 'u:dev:MediaWiki:QuickDiff/code.js', (SUCKS) * 'u:dev:MediaWiki:CheckImgSize.js', (SUCKS) * 'u:dev:MediaWiki:PageEditInfo/code.js', (TEST) **/ 'u:dev:MediaWiki:LastEdited/code.js', 'u:dev:MediaWiki:PageCreator/code2.js' ] })

importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:RansomTime/links.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Grunny/rollbacktool.js&action=raw&ctype=text/javascript'); importScriptURI('http://vstf.wikia.com/index.php?title=User:Sactage/EasyCURangeCalc.js&action=raw&ctype=text/javascript'); importScriptURI('http://community.wikia.com/index.php?title=User:Ozuzanna/chatconnect.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/FastActions.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/FileTools.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Kopcap94/rt.js&action=raw&ctype=text/javascript'); importScriptURI('https://internal.wikia-inc.com/index.php?title=MediaWiki:ForcePreview.js&action=raw&ctype=text/javascript'); importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Cacycle/diff.js&action=raw&ctype=text/javascript'); importScriptURI('http://internal.vstf.wikia.com/index.php?title=User:Pyrrha Omega/scripts.js&action=raw&ctype=text/javascript'); importScriptURI('http://community.wikia.com/index.php?title=User:Callofduty4/OldFilePages.js&action=raw&ctype=text/javascript') importScriptPage('Interwiki.js', 'community') importScriptPage('User:Wedkarski/SpongeKiller.js', 'wed'); importScriptPage( 'User:Grunny/powerdelete.js', 'internal.vstf' ); importScriptPage('User:Kopcap94/check.js','ru.siegenax'); importScriptPage('MediaWiki:Benutzerseiten.js', 'de.rain'); importScriptPage("MediaWiki:Gadget-HotCat.js", "de.disney"); importScriptPage('ChatCount/code', 'korniux'); importScriptPage("MediaWiki:OldWindowTitles.js", "de.trollocool"); importScriptPage('User:Wedkarski/blogfix.js', 'wed'); importScriptPage('User:Wedkarski/chatpack.js', 'wed'); importScriptPage('User:Wedkarski/chatpack.js', 'wedkarski'); importScriptPage('User:White_torch/naviscript.js','ru.siegenax'); importScriptPage('User:White_torch/naviscript.js/vstfext.js','ru.siegenax'); importScriptPage('User:Kopcap94/FastWarning.js','ru.siegenax');

$.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js'); $.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js'); $.getScript('https://raw.github.com/sactage/wikia-js-snippets/master/ChatOptions.js');