Does this compare medians?
A median-shift interpretation requires additional assumptions about how the distributions differ. The statistic itself compares ranks.
Paste two samples from independent groups. Find the rank-sum statistic for each group and a tie-adjusted normal approximation.
Combine the groups, sort the observations and assign average ranks to tied values. The rank sum for the first group gives its U statistic. The two U values add to the product of sample sizes.
The p-value uses pooled tie adjustments and a continuity correction. The approximation can be imprecise with small samples. This comparison measures rank order rather than a direct difference of means.
A median-shift interpretation requires additional assumptions about how the distributions differ. The statistic itself compares ranks.
There is no variable rank contrast. The U statistic can be shown, but this approximate p-value is undefined.