User:Wingwatcher/global.js

window.AjaxUndoPrompt = true; // Enables edit summary prompt for AjaxUndo importArticles({       type: 'script',        articles: [        	'u:dev:MediaWiki:AllPagesHideRedirect/code.js', // Preprends button to Special:AllPages and Special:PrefixIndex to show or hide redirects            'u:dev:MediaWiki:AlwaysShowBottomBar.js', // Always show Wikiabar on page load            'u:dev:MediaWiki:AjaxDelete/code.js', // Lets you delete pages without leaving the page            'u:dev:MediaWiki:AjaxRename/code.js', // Lets you rename the page without leaving the page            'u:dev:MediaWiki:AjaxUndo/code.js', // Lets you undo an edit without leaving the page            'u:dev:MediaWiki:AnchoredRollback/code.js', // Lets you perform rollbacks without leaving the page            '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', // Adds a hover button to remove categories without leaving the page 'u:dev:MediaWiki:Countdown/code.js', // Displays countdown clocks where specified 'u:dev:MediaWiki:DecodeURI.js', // Decodes URIs in the source editor 'u:dev:MediaWiki:DeleteTalkpage.js', // Adds option to delete talk page of pages you delete 'u:dev:MediaWiki:DeleteUserpage.js', // Adds option to delete user page on cotributations page 'u:dev:MediaWiki:DisableCode/code.js', // Adds a button in your tools for disabling CSS/JS 'u:dev:MediaWiki:Discussions Delete All/code.js', // Adds a button to delete all discussions posts a user made 'u:dev:MediaWiki:FastFileDelete.js', // Adds delete button to Special:UnusedFiles, Special:UnusedVideos, and Lightbox 'u:dev:MediaWiki:FastOldImageDelete/code.js', // Delete old image revisions without leaving the page 'u:dev:MediaWiki:FixWantedFiles/code.js', // Makes Special:WantedFiles redlinks go to the upload page '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:MultipleActivity.js', // Better than WikiActivity '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:ProtectionIcons.js', // Adds icons to pages based on their protection level 'u:dev:MediaWiki:PurgeButton/code.js', // Adds a button for purging an article '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:Rollback/code.js', // Adds rollback button regardless of your usergroup '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:WallGreeting.js', // View and edit message wall greetings on UCP 'u:dev:MediaWiki:WikiActivity.js', // Reinstates Special:WikiActivity 'u:dev:MediaWiki:MassEdit/code.js', // Bulk editing, page listing, and messaging ]   });    // Script made by User:Parkour2906    mw.loader.load("https://dev.fandom.com/wiki/User:Parkour2906/UserRegistration.js?action=raw&ctype=text/javascript"); // Displays user registration date on their masthead

$(function {	// Change Move button to Rename	var moveButtonLink = $("#ca-move").attr("href");	$("#ca-move").replaceWith('Rename');	$("#ca-rename").attr("href", moveButtonLink);	// Fixing WallGreeting script	$("[href*='Message_Wall_Greeting:']").each(function { $(this).attr('href', $(this).attr('href').replace('?action','?veaction')); });	// RecentChanges to filter only article edits by default	$('[href*="/wiki/Special:RecentChanges"]').attr("href", "/wiki/Special:RecentChanges?namespace=0"); });