Jump to content

User:Ahecht/Scripts/RedirectTagID

From Wikipedia, the free encyclopedia
Ahecht/Scripts/RedirectTagID
AuthorAhecht
Status
Beta
UpdatedJuly 29, 2026
    (16 days ago)
Source
Beta
User:Ahecht/Scripts/RedirectTagID.js
User:Ahecht/sandbox/Scripts/RedirectTagID.js

Ahecht's RedirectTagID is a script that modifies the "New redirect" and "Redirect target changed" tags on Special:RecentChanges, Special:NewPages, and Special:Contributions to include a link to the redirect target at the time of the edit (e.g. "New redirect" becomes "New redirect to Wikipedia:Example § Example of normal heading (H2)"). This is useful for users not using Navigation popups as well as users using screen readers or other accessability software.

NOTE: The script may not identify the redirect target if the page has been moved since the redirect was created.

To use this script: Copy the line below, then [[click here to install locally]] or [[click here to install across all wikis]], paste the line, and hit Publish changes:

mw.loader.load( '//en.wikipedia.org/w/index.php?title=User:Ahecht/Scripts/RedirectTagID.js&action=raw&ctype=text/javascript' ); // RedirectTagID [[User:Ahecht/Scripts/RedirectTagID.js]]

Report any issues to me, Ahecht.

See also

[edit]