Page MenuHomePhabricator

Add site links to fetched Wikidata items
Open, MediumPublic

Description

Description

Currently, when fetching a Wikidata Item, we ignore site links. (This was previously de-prioritized, and left for future attention.) For completeness, this information should be available to functions that may need it.

Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)

  • Figure out how site links should be represented in Wikifunctions. (Possibly using a Z881/list of Z883/map.)
  • Make additions in function-schemata to support the representation (possibly just a new key in Z6001).
  • Pull-through the function-schemata changes into the orchestrator repository.
  • Add orchestrator code to ingest the site links.
  • Consider whether any UI changes are needed, in WikiLambda, to enable the presentation of qualifiers. If so, make a separate ticket for them.

Remove all the non-applicable tags from the "Tags" field, leave only the tags of the projects/repositories related to this task


Completion checklist

Event Timeline

Could we instead have a typed list of a new type for sitelinks (with keys wiki and title)? This would also allow references to articles on other wikis in other ways as well. We may also want an enum type of Wikimedia wikis.