As a developer I want to extract information from the template's edit link in order to create the client editing modal with the correct statements and edit flows.
Problem:
We need to get information about which statements to edit on which Item and with which edit flow. This ticket is for getting the basics of this: encoding the information in a dummy template and getting the information logged to console.
Example:
<span data-bridge-edit-flow="overwrite"><a href="https://www.wikidata.org/wiki/Q1234#P123"> edit icon goes here </a></span>
The output would be:
- flow: overwrite
- ItemID: Q1234
- PropertyID: P123
BDD
GIVEN a template on the client
AND an edit link icon linking to the repository
AND a span with the edit flow parameter
THEN the edit flow and Item ID and Property ID for the statement group is logged to console
Acceptance criteria:
- edit flow, Item ID and Property ID are logged to console