Jump to content

User talk:Eejit43

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

redirect-helper on multiple projects

[edit]

Is redirect-helper specific to en.Wikipedia, or can I install it in my global.js on meta, and use it on all projects? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:45, 13 May 2026 (UTC)[reply]

@Pigsonthewing Hello! Yes, you can install it globally via meta, though there is no language support outside of English. It doesn't load the categorization templates when you aren't on enwiki (as there is no magic way to find them), and thus it doesn't know how to parse them if they exist, stripping them instead as it does on enwiki for unrecognized content. It works perfectly fine for plain redirects, and still handles categories, DEFAULTSORTs, and everything else just as it would here.
I will push an update to remove the categorization sections from the script entirely when not on enwiki. If there is anything buggy, do let me know and I can try to get it fixed. ~ Eejit43 (talk) 17:05, 14 May 2026 (UTC)[reply]
Thank you; I will give it a spin.
Maybe the magic way to find templates is by finding the en.Wikipedia version and looking at the Wikidata equivalent? See Template:R from misspelling (Q6838010) (at d:Q6838010#sitelinks-wikipedia), for example. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:05, 14 May 2026 (UTC)[reply]
Ooh, very good idea! I'll look into this, it might be a bit complicated to manage so I'll probably do it on a per-wiki basis upon request so I don't need to keep all that data in the same JSON storage. I'll let you know if I have any updates on this. ~ Eejit43 (talk) 16:26, 15 May 2026 (UTC)[reply]
Thank you.
I have one other feature request: Sometimes I'm on an existing page and I want to make a new redirect to it, rather than to redirect it. It would be good if this tool could give me that option. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:54, 15 May 2026 (UTC)[reply]
That is something that has been requested in the past, and I even had it being tracked in a GitHub issue at one point, though I determined "Upon revisiting this issue, I believe this to be outside the scope of the script. Adding another toolbox button doesn't seem necessary, and it is easy enough to navigate to the page you want to make a redirect from."
Upon revisiting this issue again, I could be open to adding it, though technically it's a bit of a pain as I rely on parameters only accessible when on the actual page (for determining if it can be edited, getting wikibase IDs, and checking patrol information). How about I add a new toolbox link that prompts just for a page, then opens that page in a new tab with the current title set as the target? That would definitely be the simplest (and not face those technical issues) and honestly probably the most intuitive so redirects aren't actually made in the wrong direction. Would that work for what you'd want? ~ Eejit43 (talk) 04:19, 16 May 2026 (UTC)[reply]
That sounds OK, thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:00, 16 May 2026 (UTC)[reply]
@Pigsonthewing This has now been implemented. There is a new "Redirect page here" in the dropdown menu which opens a dialog prompting for a page title. Let me know if you have any feedback! Support for multiple projects is something I'll have to tackle later on. ~ Eejit43 (talk) 03:27, 19 May 2026 (UTC)[reply]

Feedback request: Wikipedia technical issues and templates request for comment

[edit]

Your feedback is requested at Wikipedia talk:Twinkle on a "Wikipedia technical issues and templates" request for comment. Thank you for helping out!
You were randomly selected to receive this invitation from the list of Feedback Request Service subscribers. If you'd like not to receive these messages any more, you can opt out at any time by removing your name.

(replacing Yapperbot) SodiumBot (botop|talk|contribs) 18:30, 19 May 2026 (UTC)[reply]

redirect-helper

[edit]

It appears that the script freezes when attempting to create a redirect to itself; it should probably display an error instead. 1234qwer1234qwer4 04:20, 22 June 2026 (UTC)[reply]

Good catch, thanks! Looks like somehow the script may have never handled redirects to nonexistent targets as the code I wrote for that was broken. Not sure how that slipped through the cracks, but fixed now :) ~ Eejit43 (talk) 13:51, 22 June 2026 (UTC)[reply]

Feedback request: Wikipedia technical issues and templates request for comment

[edit]

Your feedback is requested at Wikipedia:Village pump (policy) on a "Wikipedia technical issues and templates" request for comment. Thank you for helping out!
You were randomly selected to receive this invitation from the list of Feedback Request Service subscribers. If you'd like not to receive these messages any more, you can opt out at any time by removing your name.

(replacing Yapperbot) SodiumBot (botop|talk|contribs) 16:30, 24 June 2026 (UTC)[reply]