Description
The Abstract Wiki content page has a related Wikidata item id, which can be passed as an argument to the fragment function calls.
The type of this argument is Wikidata Item Reference/Z6091, which means that:
- If used directly for a Wikidata Item/Z6001, it will fail
- To use it as Wikidata item, one must expand the Wikidata item, and use the page argument in the child "Wikidata item reference" key (as shown below)
This adds complexity that should be invisible to the user
Desired behavior/Acceptance criteria
- (maybe needed) restrict selection of argument references by expected type
- When using a function that takes Wikidata item or Wikidata item reference, allow selection of argument reference "wikidata item reference"
- When selecting "wikidata item reference" for a Wikidata item/Z6001, create the correct fetch representation: Z6821( Z18( Z825K1 ) )
- When selecting "wikidata item reference" for a Wikidata item reference/Z6091, use argument reference directly: Z18( Z825K1 )
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Front-end_Task/Bug_Completion_Checklist
