Page MenuHomePhabricator

Editing entity schemas pollutes parser cache with localized version of “check entities against this schema” link
Closed, ResolvedPublic3 Estimated Story Points



  1. Set your user language to some non-English language.
  2. Edit a schema (text). (E12345 is our sandbox schema, prefer testing with that one.)
  3. Set your user language to English.
  4. The “check entities against this schema” link is still displayed in your other user language, not in English. (Assuming that message is already translated into the other language.)

For some reason, this does not seem to affect the “edit” link right next to it.

Can currently be seen at, though the next edit or parser cache purge will break that example.


Screenshot_2019-05-29 Sandbox Schema (E12345) - Wikidata.png (50×401 px, 3 KB)

Acceptance criteria:

  • A user always sees the text for "check entities against this schema" in their UI language or if that's not available a valid fallback language according to MediaWikis fallback chain

Event Timeline

WMDE-leszek set the point value for this task to 3.Jun 12 2019, 12:13 PM

Change 520871 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/EntitySchema@master] Fragment ParserCache entries by language

Change 520871 merged by jenkins-bot:
[mediawiki/extensions/EntitySchema@master] Render schema check link in the renderer language