What is the problem?
When using Special:UrlShortener or Special:QrCode (if the URL is long enough), clicking on the alternative shortened URL link takes you to https://en.wikipedia.beta.wmflabs.org/wiki/w-beta.wmflabs.org/_mX (on beta). It should take you to https://w-beta.wmflabs.org/_mX.
Steps to reproduce problem
- https://en.wikipedia.beta.wmflabs.org/wiki/Special:UrlShortener
- Enter a valid URL (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page)
- Click "Shorten"
- Click the link next to You can also use this alternative URL:
Expected behaviour: Takes you to https://w-beta.wmflabs.org/_y (which redirects to https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page)
Observed behaviour: Takes you to https://en.wikipedia.beta.wmflabs.org/wiki/W-beta.wmflabs.org/_y
Environment
Wiki(s): UrlShortener 1.2.0 (7a53d21) 07:44, 9 February 2024.
