Page MenuHomePhabricator

Optional language tags
Open, MediumPublicFeature

Description

Feature summary (what you would like to be able to do and where):
I would like language tag to be optional for labels and altLabels in wikibase cloud. I don't know if there is an extension that would enable this in wikibase. If there is, I would like to see it added to wikibase cloud.

Alternatively, if duplication of data isn't an issue, there could be an option to automatically add labels in all languages based on a statement (https://github.com/ProfessionalWiki/AutomatedValues#automated-values ?)

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Language tag is required when adding labels to entities and properties. In wikidata there are examples of identifierswhere language isn't appliccable:
https://www.wikidata.org/wiki/Q116214100

There are many examples from maths and science:
https://www.wikidata.org/wiki/Q96862729
https://www.wikidata.org/wiki/Q677 (Fe could have been a non-tagged altLabel instead of being duplicated)

Benefits (why should this be implemented?):

  • Avoid duplication of data
  • Avoid misleading language tag on non-linguistic labels
  • Avoid misleading language tag in cases where labels haven't been added in the display language.

Event Timeline

Anton.Kokh triaged this task as Medium priority.Tue, Jun 11, 3:27 PM

Hi @haskuib !
There is a feature that is being implemented for Wikidata that seems to address your use case.
https://phabricator.wikimedia.org/T285156
Could you please confirm if this is indeed the case?
Thank you!

Yes, this would resolve the issue. I hope it will be implemented soon

Keeping this ticket parked until this milestone is passed for Wikidata: https://phabricator.wikimedia.org/T342279
Then we can enable the new feature on Cloud and see if the problem is resolved.