[go: up one dir, main page]

Page MenuHomePhabricator

[Epic] Basic first prototype for structured data support for Commons
Closed, ResolvedPublic

Description

This ticket is tracking everything we need for the first ugly prototype for structured data support for Commons.

It will not be deployed on Commons but only on a test system. It will have the file meta data stored on a separate page still. It will not be able to use items and properties from Wikidata yet.

This includes only a very basic implementation.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
DuplicateNone
OpenFeatureNone
DuplicateNone
OpenFeatureNone
ResolvedNone
ResolvedNone
ResolvedNone
Resolveddaniel
ResolvedTobi_WMDE_SW
ResolvedNone
ResolvedLuke081515
ResolvedBene
ResolvedBene
ResolvedBene
Resolved adrianheine
Resolved adrianheine
ResolvedBene
ResolvedBene
Resolvedthiemowmde
Resolvedthiemowmde
ResolvedJeroenDeDauw
Resolvedthiemowmde
ResolvedBene
ResolvedNone
ResolvedBene
DeclinedBene
DuplicateNone
Declined adrianheine
Resolved adrianheine
Resolveddaniel
Declined adrianheine
Resolved adrianheine
Resolved adrianheine
Resolved adrianheine
DeclinedNone
Resolved adrianheine

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Bene renamed this task from [Epic] Ugly first prototype for structured data support for Commons to [Epic] Basic first prototype for structured data support for Commons.Feb 4 2016, 3:39 PM
Bene updated the task description. (Show Details)
Bene set Security to None.
Bene subscribed.

I just tried to create a MediaInfo entity through wbeditentity using I78ce2ac14a6750807f09722c7b0a48a3e199228e. What still fails and thus prevents successful creation of entities:

  • WikiPageEntityMetaDataLookup uses getNumericId
  • EntityFactory is initialized with a static list in WikibaseRepo and calls the factory methods newEmpty on EntityId classes.
  • WikiPageEntityStore calls setId with a number
  • Diffing support

ran into the same issues as Adrian:

  • EntityFactory::newEmpty does not work for MediaInfo, because it uses a hardcoded mapping of entity types and classes (w/o any hook or such for new types)
  • Places in the code when assigning a fresh id to a new entity that expect numeric entity ids and expect methods like ItemId::newFromNumber exist for MediaInfoId
  • Problem with serialization (calling Wikibase\DataModel\SerializerFactory::newEntitySerializer, which is aware of only Item and Property entity types) in ParserOutputJsConfigBuilder - fixed by Bene's not-yet-merged chain of patches Gerrit change 278566
  • Problem with diffing: "Diffing the provided types of entities is not supported", "*": "#0 /var/www/wiki/w/extensions/Wikidata/vendor/wikibase/data-model-services/src/Diff/EntityDiffer.php - presumably what phab:T78298 is working to address.
This comment was removed by aude.
Tobi_WMDE_SW claimed this task.
Tobi_WMDE_SW moved this task from Backlog to Proposed on the Wikidata-Sprint-2016-07-19 board.

The demo system has been updated with the functionality that was needed for this very first prototype, so we are closing this. A more advanced prototype with more functionality is currently being worked on and this is tracked in T134473

The demo system has been updated with the functionality that was needed for this very first prototype, so we are closing this. A more advanced prototype with more functionality is currently being worked on and this is tracked in T134473

Is the demo system you mention available for public access?

Is the demo system you mention available for public access?

Yes. I will send an email with some more explanation and context in the next days. (Without it it doesn't make a lot of sense so far.)