Page MenuHomePhabricator

Split creation of secondary data updates from parsing
Closed, ResolvedPublic

Description

[this applies to the ContentHandler facility as developend Wikidata branch, to be merged into master soon, I hope - see https://gerrit.wikimedia.org/r/7716]

  • in the Content class, it would be nice to have a getSecondaryDataUpdates(), instead of having to use getParserOutput()->getSecondaryDataUpdates(). For non-flat formats, extracting the secondary data has nothign to do with creating html output.
  • getSecondaryDataUpdates() optionally takes the "previous" state. If given, it may generate updates that take into account the previous state and only update what actually changed.

Version: unspecified
Severity: enhancement

Details

Reference
bz36901

Event Timeline

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

(removing 'wikidata' keyword. Added to ContentHandler component in MediaWiki core. If this is blocking a certain thing in Wikidata (which I'm sure it does), please indicate blocking through a bug id - such as "Wikidata needs x" or a general wikidata release tracking bug)

Closed older resolved bugs as verified.