Something similar to wikibase.datamodel
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Ladsgroup | T233605 Merge shared dependencies of entityViewInit and LexemeView | |||
Resolved | Ladsgroup | T234320 Untangle modules of wikibase.serialization | |||
Resolved | Ladsgroup | T234327 Build an entry point for wikibase.serialization |
Event Timeline
Change 540394 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Start using one single entry point for wikibase.serialization
Change 540398 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/WikibaseLexeme@master] Use one single module for wikibase.serialization
Change 540403 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/WikibaseMediaInfo@master] Use one single module for wikibase.serialization
Change 540394 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Start using one single entry point for wikibase.serialization
Change 541514 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Add StatementGroupSetDeserializer to wikibase.serialization
Change 541514 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add StatementGroupSetDeserializer to wikibase.serialization
Change 540398 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Use one single module for wikibase.serialization
Change 540403 merged by jenkins-bot:
[mediawiki/extensions/WikibaseMediaInfo@master] Use one single module for wikibase.serialization
@Ladsgroup: I am updating LinguaLibre, which was using ItemSerializer that you removed in the JS serialization library, and I search the new way to serialize an item (before sending it to the API wbeditentity). (I should find but if you have any hint, I would be very grateful :)
Hi, would mw.hook( 'wikipage.content') work for you? It should satisfy your usecase. Unless I'm missing something obvious.
I guess not, because I am not editing a page, but creating an item given the answers from a form (we are on a special page). The structure is encoded in wikibase.datamodel (e.g. an item), and I need to serialize it before sending.