User:Parkour2906/global.js

mw.loader.using('mediawiki.util', 'ext.fandom.ContentReview.legacyLoaders.js').then(function {	'use strict';	// Dev scripts	importArticles({ type: 'script', articles: [ 'u:dev:MediaWiki:AlwaysShowBottomBar.js',		// Pretty self-explanatory 'u:dev:MediaWiki:AjaxDelete/code.js',			// Lets you delete pages without leaving the page you're on	       'u:dev:MediaWiki:AjaxRename/code.js',			// Lets you rename the page without leaving the page // 'u:dev:MediaWiki:AnnouncementsIgnore.js',		// Ignores announcements 'u:dev:MediaWiki:AnchoredRollback/code.js',		// Lets you perform rollbacks without changing location 'u:dev:MediaWiki:BulkVideoUpload.js',			// Lets you mass upload videos 'u:dev:MediaWiki:CategoryMaintenanceTables.js', // Generates copy paste-able text from Special:WantedCategories and Special:Categories, at a click of a button // 'u:dev:MediaWiki:CategoryQuickRemove.js', 'u:dev:MediaWiki:DarkAbuseFilter.js',			// Pretty self-explanatory 'u:dev:MediaWiki:DecodeURI.js',					// Decodes URIs in the source editor 'u:dev:MediaWiki:DisableCode/code.js',			// Adds a button in your tools for disabling CSS/JS 'u:dev:MediaWiki:DisableVisualEditor.js',		// Pretty self-explanatory 'u:dev:MediaWiki:Discussions Delete All/code.js',	// Adds a button to delete all discussions posts a user made 'u:dev:MediaWiki:GlobalJSLinks.js',				// Organizes links in your global.js	       'u:dev:MediaWiki:JSONViewer.js',				// Provides a different UI for viewing JSON 'u:dev:MediaWiki:LastEdited/code.js',			// Displays the last edit made on a page and the user who made it	       'u:dev:MediaWiki:MaximizeAce.js',				// Maximizes the ace editor 'u:dev:MediaWiki:UploadMultipleFiles.js',		// Self-explanatory 'u:dev:MediaWiki:MultipleActivity.js',			// Better than WikiActivity 'u:dev:MediaWiki:NewImages.js',					// Displays recently added images on the rail 'u:dev:MediaWiki:NotifPatches.js',				// Fixes some notif glitches 'u:dev:MediaWiki:Nuke/code.js',					// Lets you delete everything from a user's contributionsw 'u:dev:MediaWiki:NullEditButton/code.js',		// Adds a button for null editing articles 'u:dev:MediaWiki:PatrolRC/code.js',				// Adds patrol links in Recent Changes 'u:dev:MediaWiki:PortableCSSPad/code.js',		// Adds a button for a pad that makes testing CSS easy 'u:dev:MediaWiki:PortableListUsers.js',			// Adds a button for a list of users with additional rights on the wiki 'u:dev:MediaWiki:PurgeButton/code.js',			// Adds a button for purging an article 'u:dev:MediaWiki:QQX/code.js',					// Adds a button for viewing a page in QQX 'u:dev:MediaWiki:QuickDiff/code.js',			// Allows you to see a difference between revisions of an article without leaving the page 'u:dev:MediaWiki:QuickPurge.js',				// Auto-purges a page without asking you 'u:dev:MediaWiki:RecentChangesMultiple/code.2.js',	// Allows you to view recent changes on multiple wikis 'u:dev:MediaWiki:RemoveLegacyThreads.js',		// Removes broken legacy thread links 'u:dev:MediaWiki:SeeMoreActivityButton/code.js',	// Adds a button linking to recent changes in the rail module 'u:dev:MediaWiki:SocialActivityModern.js',		// Modernizes the Social Activity 'u:dev:MediaWiki:Sofix.js',						// Various bug fixes on Fandom 'u:dev:MediaWiki:SyntaxHighlight.js',			// Syntax highlighting 'u:dev:MediaWiki:UserActivityTab/code.js',		// Adds a tab for Special:UserActivity on your profile on CC	       'u:dev:MediaWiki:ViewNotificationsUsers.js',	// Adds tooltips for a notification actor 'u:dev:MediaWiki:WikiActivity.js'				// Reinstates Special:WikiActivity ]	});	// Scripts made or modified by me	mw.loader.load("https://wingsoffire.fandom.com/wiki/User:Parkour2906/AjaxUndo.js?action=raw&ctype=text/javascript"); // Lets you undo an edit without leaving the page	mw.loader.load("https://wingsoffire.fandom.com/wiki/User:Parkour2906/ChangeSystemMessages.js?action=raw&ctype=text/javascript"); // Modifies some system messages	mw.loader.load("https://wingsoffire.fandom.com/wiki/User:Parkour2906/Rollback.js?action=raw&ctype=text/javascript"); // Lets you rollback articles without additional user rights	mw.loader.load("https://dev.fandom.com/wiki/User:Parkour2906/UserRegistration.js?action=raw&ctype=text/javascript"); // Displays the registration date of users on the masthead, similar to UserAccountAge	// Adds custom links to the global navigation bar	$(function { if (typeof bookmarks == 'undefined') { bookmarks = [ ['Main Page'] ];	   }	    var bookmarksHTML = '' + '' + ' Bookmarks ' + ' ' + '' + '', href, html; for (var i = 0; i < bookmarks.length; i++) { href = bookmarks[i][0]; if (bookmarks[i].length > 1) { html = bookmarks[i][1]; } else { html = href; }	       bookmarksHTML += '' + html + '';	    }	    $(".wds-global-navigation__links").append(bookmarksHTML);	});

window.bookmarks = [ ['Special:MultipleActivity', 'MultipleActivity'], ['Project:AutoWikiBrowser/Script', 'JWB'], ['https://wingsoffire.fandom.com/wiki/User:Parkour2906/RCM', 'RCM'] ];	// Automatically hides the preview and make a button to hide and show it	$(function {		$(".ve-oasis-header").css("z-index", "0");		$("#wpPreviewWidget input").attr("value", "Refresh Preview");		$("#wpPreviewWidget").after(" ");		$("#wpHidePreviewWidget").click(function { if ($("#wikiPreview").css('display') == 'none') { $("#wikiPreview").css("display", "block"); $("#wpHidePreviewWidget").attr("value", "Hide Preview"); } else { $("#wikiPreview").css("display", "none"); $("#wpHidePreviewWidget").attr("value", "Show Preview"); }		});		$("#wpPreviewWidget").click(function { if ($("#wikiPreview").css('display') == 'none') { $("#wikiPreview").css("display", "block"); $("#wpHidePreviewWidget").attr("value", "Hide Preview"); }		});		$("#wikiPreview").css("display", "none");	 }); // Sofix window.Sofix = { enablePersonalUse: true };	// Probably doesn't work $(function {		$('.wds-banner-notification').has('#swm_bar_survey_polls_03182021').hide;	}); });