Problem:
The Language and Product Localization team is working on deprecating certain language codes for a long time already. A blocker to doing this is the existing labels, descriptions and aliases in those languages in Wikidata. One example is T394877.
Removing the language codes is made harder than it needs to be be because Wikibase does not let you remove labels from an Item if the language code has been removed. We should fix this by allowing the removal of labels, descriptions and aliases even if the language code for them is no longer supported.
BDD
GIVEN an Item with existing terms for a given language code
AND that language code is not supported by the Wikibase instance
WHEN removing the terms in that language code
THEN the terms in that language code are removed instead of throwing an error
Acceptance criteria:
- terms for deprecated/unsupported language codes can be removed