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

Wikidata Bridge pozwala na edytowanie danych w Wikidanych bezpośrednio z wiki klienckiej (np. Wikipedii). Wikidata Bridge musi być włączony w konfiguracji wiki, aby użytkownicy mogli z niego korzystać. Oprócz tego, szablony infoboksów trzeba dostosować.

Dodanie specjalnych przycisków edycji
Aby infoboks był wspierany przez edytor Wikidata Bridge, muszą zostać umieszczone przyciski edycji obok wartości z Wikidanych. 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).

Examples
Plain wikitext example:

Example using en:Template:Infobox: