Wikidata Bridge/How to Enable Wikidata Bridge for your Infobox/sv

låter en redigera data från Wikidata direkt i klientens wiki (t.ex. Wikipedia). Wikidata Bridge behöver aktiveras i din wikis konfigurering för att kunna användas. Dessutom behöver faktamallar utvecklas.

Skapa speciella redigeringslänkar
In order for an infobox to be supported by the Wikidata Bridge Editor, it has to place specific edit links next to the values coming from Wikidata. Typically, those edit links are icons linking to some URL like. To turn them into Wikidata 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.

Selecting the correct edit flow
An edit on the client wiki can result in several types of edits on Wikidata. For example when updating the mayor of a city the previous mayor's rank changes and an additional statement is added. However when adding an additional child for a person no rank change should be made. The Wikidata Bridge needs to know which type of edit to make on Wikidata. The edit flow parameter determines it.

Currently, the only supported edit flow is. This edit flow is for edits similar to the new mayor example above. It will result in exactly one best-ranked value plus one or more non-best-ranked values after the edit has been made. More edit flows will follow in the future. The edit flow is specified in a  attribute like this:

Selecting which statement to edit
The edit link needs to define the Item on which the statement you want to edit is located as well as the Property of the statement. The Item and Property ID are inferred from the target ( attribute) of the link ( element) inside the element with the   attribute. The link target must match the following regular expression:

Each element with a  attribute must contain exactly one such link, and no other links ( elements).

Exempel
Exempel med ren wikitext:

Exempel med en:Template:Infobox: