Page MenuHomePhabricator

Handle languages that are no longer supported in Wikibase UI
Closed, ResolvedPublic

Description

We discovered when trying to save that the Termbox will be impacted by changes in the languages that the wikibase no longer supports. E.g. for wikidata.org Toki Pona. See:

https://gerrit.wikimedia.org/r/c/wikibase/termbox/+/499187

We should decide in a way theses should be handled in current and historic revisions:
Options include:

  • Show nothing and pretend the languages aren't there
  • show the language code
  • try and figure out the language name and show it

We could also optionally or not hint that the language is now removed.

Lowest cost is probably hide it and pretend it isn't there. By @Tarrow that would be fine but we should make a conscious decision on this compromise

Event Timeline

So a permanent example of this is https://www.wikidata.org/w/index.php?title=Q11770725&oldid=873385958 (thanks @Tarrow )

I believe these language codes should always be visible when rendering the termbox for viewing.
This is consistent with what wikidata does now.
If we don't to this, we just start hiding bits of history, which is "not cool".

As for editing, the termbox probably shouldn't have special handling for old unsupported languages such as toki pona.
All occurrences of the language in current revisions should be removed (see T200432) as them existing causes issues for all users, not just the termbox.

For T200432 we should probably create a script and run this whenever we remove a language on the server removing the issue.

WMDE-leszek renamed this task from Handle languages that are no longer supported to Handle languages that are no longer supported in Wikibase UI.May 7 2019, 12:52 PM
alaa_wmde claimed this task.

We have broken the parent Epic task into two stories to cover the suggestions and decisions agreed on with product