Page MenuHomePhabricator

An internal link to a Z page in Wikifunctions caches the editing or the purging user's selected user interface language
Open, Needs TriagePublicBUG REPORT

Description

I usually use Wikifunctions in Hebrew. When I publish a page with an internal link, e.g. [[Z18784]], the following things happen:

  1. The target URL is https://www.wikifunctions.org/view/he/Z18784
  2. The link text shows the Hebrew label of the function.

Those two things persist even in the following conditions:

  • I open the page anonymously. The UI language is English, but the target URL still has /view/he/, and the shown title is in Hebrew, even though the function has an English label.
  • I change my UI language in the preferences. The rest of the UI language changes to what I selected, but this link's target URL still has /view/he/, and the shown title is in Hebrew, even though the function has an English label.
  • Another user who has a different UI language opens the page.

It changes if I change my UI language and open the page with ?action=purge even without publishing a new version, so it's not necessarily the last editor's language, but the last purger's language.

Such behavior is generally undesirable. From the general point of view of functionality, the link should work in the page's content language or in the reader's UI language. Doing it in the language of the last user who published or purged the page makes no sense.

It is also a bit of a privacy problem—I make no secret of the fact that Hebrew is my language, but it's a personal user preference, and some users may want to keep that information private.

Possibly related: