User:Eejit43/scripts/sync-redirect

User script
sync-redirect
DescriptionUser script to sync talk page redirects with their main page
Author(s)Eejit43
First releasedFebruary 9, 2023; 15 months ago (2023-02-09)
UpdatedJanuary 26, 2024; 3 months ago (2024-01-26) (see GitHub commit history)
Browser supportTested on Chromium
Skin support
SourceUser:Eejit43/scripts/sync-redirect.js
GitHub repositorysync-redirect.ts

This user script allows talk pages to be synced to their corresponding main page redirect. If the main page is a redirect, a link is added to the "More"/"Tools" dropdown menu (or sidebar), which, when clicked, automatically update the page. If it exists on the main page, {{R from move}} is added in {{Redirect category shell}} as well.

Installation

Simple

Install Enterprisey's "script-installer" (at Preferences → Gadgets → Advanced →   Install scripts without having to manually edit JavaScript files (documentation)), then come back to this page and click the "Install" button in the infobox on the right.

Manual

Add the following to your common.js (or a skin specific JavaScript page):

{{subst:install user script|User:Eejit43/scripts/sync-redirect.js}}

Comments/bug reports

Please leave comments or report bugs on my talk page, or file an issue on the GitHub repository.