Last modified: 2013-10-23 13:15:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56216, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54216 - Implement entity deserializer for API serialization format
Implement entity deserializer for API serialization format
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-17 09:26 UTC by Aude
Modified: 2013-10-23 13:15 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aude 2013-09-17 09:26:53 UTC
There is no entity deserializer in Wikibase (Lib) for deserializing an entity in api serialization format.

It would be useful to be able to use this "external" api serialization format in places such as parser output, be able to deserialize it, and use the entity data. (e.g. see bug 54215)
Comment 1 Jeroen De Dauw 2013-10-04 15:50:09 UTC
When implementing this, please do not use the old Serializer and Deserializer interfaces from Wikibase\Lib\Serializers. Following a design as done in [0] or [1] is better.

[0] https://github.com/wikimedia/mediawiki-extensions-Ask/tree/master/src/Ask/Serializers , https://github.com/wikimedia/mediawiki-extensions-Ask/tree/master/src/Ask/Deserializers
[1] https://github.com/wikimedia/mediawiki-extensions-WikibaseQuery/blob/master/src/Wikibase/Query/QueryEntityDeserializer.php
Comment 2 Jeroen De Dauw 2013-10-04 16:01:02 UTC
Documentation of ne new interfaces can be found at https://github.com/wikimedia/mediawiki-extensions-Serialization#usage
Comment 3 Gerrit Notification Bot 2013-10-15 10:31:03 UTC
Change 83846 had a related patch set uploaded by Aude:
(bug 54216) Implement entity deserialization

https://gerrit.wikimedia.org/r/83846
Comment 4 Gerrit Notification Bot 2013-10-17 17:26:23 UTC
Change 83846 merged by jenkins-bot:
(bug 54216) Implement entity deserialization

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links