Page MenuHomePhabricator

Add Wikidata reference types & add/update retrieval functions to use them
Closed, ResolvedPublic

Description

Description

Rather than using Z9/Reference to refer to instances of Wikidata-based types, we will create a new reference type corresponding to each of the Wikidata-based types Z6001, Z6002, Z6004, Z6005, & Z6006. For each of these, there will be a built-in retrieval function, which will take the reference type as input and return an instance of the corresponding Wikidata-based type.

Retrieval functions and implementations already exist for Z6004 & Z6005. To have a complete set, we add new functions and implementations for Z6001, Z6002 & Z6006.

  • New reference types Z6691/2/4/5/6 (renamed to Z6091/2/4/5/6)
  • Updates to retrieval functions Z6824/5
  • New retrieval functions Z6821/2/6
  • New implementations Z6921/2/6

Completion checklist

Details

TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (c399cc8)repos/abstract-wiki/wikifunctions/function-evaluator!258jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (c399cc8)repos/abstract-wiki/wikifunctions/wikilambda-cli!51jforrestersync-function-schematamain
Update ZIDs of Wikidata reference types throughout orchestratorrepos/abstract-wiki/wikifunctions/function-orchestrator!230dmartinT374533main
Rename Wikidata reference types from Z669x to Z609xrepos/abstract-wiki/wikifunctions/function-schemata!163dmartinT374533-2main
Update function-schemata sub-module to HEAD (58d403a)repos/abstract-wiki/wikifunctions/function-orchestrator!228jforrestersync-function-schemata-onlymain
Update function-schemata sub-module to HEAD (58d403a)repos/abstract-wiki/wikifunctions/function-evaluator!257jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (58d403a)repos/abstract-wiki/wikifunctions/wikilambda-cli!50jforrestersync-function-schematamain
Draft: Update function-schemata sub-module to HEAD (58d403a)repos/abstract-wiki/wikifunctions/function-orchestrator!227dmartinsync-function-schematamain
definitions: Add Wikidata reference types Z6691–Z6696, add/update retrieval functions to use themrepos/abstract-wiki/wikifunctions/function-schemata!160dmartinT374533main
Customize query in GitLab

Event Timeline

jforrester merged https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-schemata/-/merge_requests/160

definitions: Add Wikidata reference types Z6691–Z6696, add/update retrieval functions to use them

DMartin-WMF changed the task status from Open to In Progress.Sep 15 2024, 8:15 PM

Change #1073217 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403a)

https://gerrit.wikimedia.org/r/1073217

Change #1073458 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403aa)

https://gerrit.wikimedia.org/r/1073458

Change #1073491 had a related patch set uploaded (by David Martin; author: David Martin):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403a)

https://gerrit.wikimedia.org/r/1073491

Change #1073458 abandoned by Genoveva Galarza:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403aa)

Reason:

Duplicates

https://gerrit.wikimedia.org/r/1073458

Change #1073491 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403a)

https://gerrit.wikimedia.org/r/1073491

Reopening because we've decided to change the ZIDs of the 5 reference types, from Z669x to Z609x. That will be done in a single schemata patch, followed by a single orchestrator MR.

Re-closing; the schemata and orchestrator patches for renaming the reference types have both merged.

Change #1073217 abandoned by Jforrester:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (58d403a)

Reason:

Done later in I83d8658aa05d6cce81fd9fb89244aa27f6079296 instead.

https://gerrit.wikimedia.org/r/1073217

Change #1075008 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (c399cc8)

https://gerrit.wikimedia.org/r/1075008

Change #1075008 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (c399cc8)

https://gerrit.wikimedia.org/r/1075008

Change #1075554 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-08-13-135124 to 2024-09-24-145528

https://gerrit.wikimedia.org/r/1075554

Change #1075555 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-08-20-132618 to 2024-09-24-221243

https://gerrit.wikimedia.org/r/1075555

Change #1075554 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-08-13-135124 to 2024-09-24-145528

https://gerrit.wikimedia.org/r/1075554

Change #1075555 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-08-20-132618 to 2024-09-24-221243

https://gerrit.wikimedia.org/r/1075555