Change the datatypes IDs of datatypes for referencing forms and senses
Closed, ResolvedPublic

Description

Defined in WikibaseLexeme.datatypes.php as 'PT:wikibase-lexeme-form' and 'PT:wikibase-lexeme-sense'

WMDE-leszek triaged this task as High priority.

Change 425794 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/WikibaseLexeme@master] Fix i18n string for Form and Sense datatype

https://gerrit.wikimedia.org/r/425794

the patched mentioned above is related to another task

Jakob_WMDE claimed this task.

Change 426887 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/WikibaseLexeme@master] Change data type IDs for forms and senses.

https://gerrit.wikimedia.org/r/426887

Changing the data type IDs will probably cause some "Unknown data type 'wikibase-lexeme-form'" errors on the test system. Does that need to be addressed? Any newly created property will work just fine.

Good point @Jakob_WMDE. This could be fixed using LexemeSerializationUpdater I believe. The point would be to change the "datatype" property of the JSON object in the text table. If the value was "wikibase-lexeme-form" it should become "wikibase-form" (and similar thing for the sense case).

Change 426887 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Change data type IDs for forms and senses.

https://gerrit.wikimedia.org/r/426887

Lydia_Pintscher closed this task as Resolved.Wed, Apr 18, 10:45 AM