A number of questions on this site describe the location shift assumption for interpreting the Mann-Whitney U as a test of the equality of medians (e.g. here, here, and here). I'm trying to figure out what this actually entails.
This seems pretty straightforward for some distributions, such as the normal distribution. For others, such as log-normal and beta distributions, changing one of the parameters can affect the mean, median and variance. What counts as a shift in location only? If, for example, I increase the location parameter in a log-normal distribution without changing the scale parameter, does this count as a change in location only, even though the variance will have increased? Similarly, for something like the Beta distribution, altering one of the shape parameters will affect the mean, median, and variance.
For clarity, I'm hoping to understand the concept, not decide on whether I'm justified in using the Mann-Whitney U for a specific set of data.