Page MenuHomePhabricator

Link to the alternative shortened URL is incorrect in Beta Cluster
Closed, ResolvedPublicBUG REPORT

Description

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
  1. https://en.wikipedia.beta.wmflabs.org/wiki/Special:UrlShortener
  2. Enter a valid URL (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page)
  3. Click "Shorten"
  4. 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.

Event Timeline

MusikAnimal subscribed.

Seems like a misconfiguration on beta. I'm not sure how to fix it, but so long as it's not a problem in prod I don't think this is anything urgent.

Ammarpad renamed this task from Link to the alternative shortened URL is incorrect to Link to the alternative shortened URL is incorrect in Beta Cluster.Nov 12 2025, 8:38 AM
Ammarpad updated the task description. (Show Details)
bd808 subscribed.

I can't reproduce this. I would guess that the work in T396012: Beta cluster URL shortener (w-beta.wmflabs.org) broken where things were moved to the wmcloud.org parent domain fixed any config problems.

Screenshot 2025-11-12 at 15.44.41.png (1,678×750 px, 174 KB)

https://w.beta.wmcloud.org/mz
https://w.beta.wmcloud.org/_G3