Page MenuHomePhabricator

Put entity data into parser output
Closed, ResolvedPublic

Description

For the mobile Wikibase skin and other uses, it is helpful to have the entity data for a page (and referenced entities) in the parser output.

From there, it can be passed to OutputPage where skins and other stuff can use it and format it in alternative ways.


Version: master
Severity: normal
Whiteboard: u=dev c=backend p=5
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=58340

Details

Reference
bz54215

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:53 AM
bzimport set Reference to bz54215.
bzimport added a subscriber: Unknown Object (MLST).

The entity can be in the parser output in the external (api) serialized form, with the idea that this form will be more stable. This is important if we use the parser cache.

If/when the serialization format or entity structure changes, then unserialization can be made robust to handle this without failure.

Change 89792 had a related patch set uploaded by Lydia Pintscher:
Store serialized entity in parser output

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

See bug 58340 for a more general description of the issue

  • Bug 58340 has been marked as a duplicate of this bug. ***

Change 89792 merged by jenkins-bot:
Store EntityView js config in parser output

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