Page MenuHomePhabricator

In the Diffusion "Clone" dialog, show gerrit URI instead of gerrit-replica URI
Closed, ResolvedPublic

Description

Going to e.g. https://phabricator.wikimedia.org/source/mediawiki/ and pressing the "Clone" button, we expose the URI of the observed repository since T361997: Expose only canonical Clone URI in Diffusion when repo hosted externally and Differential disabled.

Screenshot From 2025-10-07 10-54-15.png (472×1 px, 56 KB)

In Diffusion, we want to observe only from the replica, per T385128: Diffusion repository URIs are a mix of observing gerrit-replica vs gerrit (see also T406408: Add text instruction to use gerrit-replica when setting Diffusion repository URI).

But when a potential new technical contributor ends up pressing the "Clone" button and uses that URI, this makes contributions harder.

So we should show the gerrit URI and not the gerrit-replica URI in this case.