Last modified: 2014-07-16 10:41:55 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 T68024, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66024 - Factor entity content serialization out of EntityContent (and friends)
Factor entity content serialization out of EntityContent (and friends)
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=3 s=2014-06-03
:
Depends on:
Blocks: 57744
  Show dependency treegraph
 
Reported: 2014-06-02 13:16 UTC by Daniel Kinzler
Modified: 2014-07-16 10:41 UTC (History)
5 users (show)

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


Attachments

Description Daniel Kinzler 2014-06-02 13:16:34 UTC
We want to allow EntityContent to represent redirects; the knowledge about how redirects are encoded in the JSON structure should not be in Entity (since Entity doesn't know about redirects), not should it be in EntityContent or EntityHandler (since these are not available on the client). 

Therefore the serialization code needs to be factored into a standalone service object.
Comment 1 Gerrit Notification Bot 2014-06-03 12:25:50 UTC
Change 134373 had a related patch set uploaded by Daniel Kinzler:
Introducing EntityContentDataCodec

https://gerrit.wikimedia.org/r/134373
Comment 2 Gerrit Notification Bot 2014-06-05 12:57:09 UTC
Change 134373 merged by jenkins-bot:
Introducing EntityContentDataCodec

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

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


Navigation
Links