Page MenuHomePhabricator

๐Ÿ“œ Create a `DescriptionsSerializer`
Closed, ResolvedPublic

Description

  • Extract from ItemDataSerializer
  • Use it in the ItemDataSerializer once done

Event Timeline

Ollie.Shotton_WMDE renamed this task from ๐Ÿ“œ Create a DescriptionsSerializer to ๐Ÿ“œ Create a `DescriptionsSerializer`.Jan 31 2023, 5:36 PM
Ollie.Shotton_WMDE updated the task description. (Show Details)

A new DescriptionsSerializer has been created, without using it yet, until the extraction of the current new ArrayObject( $itemData->getDescriptions()->toTextArray() ) from ItemDataSerializer would be possible after changing the ItemData class to use read models instead of TermList.

Change 885839 had a related patch set uploaded (by Muhammad Jaziraly; author: Muhammad Jaziraly):

[mediawiki/extensions/Wikibase@master] REST: Create DescriptionsSerializer

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

Change 885839 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Create DescriptionsSerializer

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