Wikidata Bridge/How to Enable Wikidata Bridge for your Infobox

'''THIS IS NEITHER LIVE NOR FINAL! DO NOT USE IT YET!'''

In order for an infobox to be supported by the Wikidata Bridge Editor, it has to place edit links next to the values coming from Wikidata. Typically, those edit links are icons linking to some URL like ; to turn them into bridge-enabled links, they must be wrapped in some element (typically a ) which specifies the edit flow that should be used for this edit link. Valid edit flows are TODO, and they are specified in a  attribute like this:

The following data attributes (all on the same element) are recognized:


 * data-bridge-edit-flow: The edit flow that should be used when editing this value. TODO
 * data-bridge-entity-id: The entity ID of the entity that should be edited. Often the item linked to the current page, but data may also come from other entities. Usually, this is inferred from the target of the edit link, but you can use this attribute to override it.
 * data-bridge-property-id: The property ID of the statement that should be edited. Usually, this is inferred from the target of the edit link, but you can use this attribute to override it.

The entity and property ID can be inferred if the element with the  attribute contains exactly one link whose target ( attribute) matches the following regular expression:

Otherwise, they must be specified via additional data attributes. (In that case, the contents of the element with the  attribute are ignored.)