Page MenuHomePhabricator

Missing Z574 - Set up a process to create new pre-created objects
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
It shows

Error summary: [Z574/Z574]

Validator error summary: [Z504/ZID not found]

Expected result: {"Z1K1":"Z40","Z40K1":"Z41"}

Actual result: {"Z1K1":"Z5","Z5K1":"Z574","Z5K2":{"Z1K1": {"Z1K1":"Z7","Z7K1":"Z885","Z885K1":"Z574"},"Z574K1":"10000 ms"}}

What should have happened instead?:
It should show the label of Z574

But Z574 does not exist on Wikifunctions! It never was uploaded from function-schemata

https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-schemata/-/blob/main/data/definitions/Z574.json

We should set up a process that creates these objects when they are created in function-schemata (does not have to be triggered automatically, can have a human in the loop)

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

DVrandecic renamed this task from Set up a process to create new pre-created functions to Missing Z574 - Set up a process to create new pre-created objects.Feb 3 2024, 3:24 AM
DVrandecic created this task.

We have a process, we just didn't follow it in this case (and, it seems, some of the others).

mwscript extensions/WikiLambda/maintenance/loadPreDefinedObject.php --wiki=wikifunctionswiki --from 500 --to 600

…
Created "Z561".
Created "Z562".
Created "Z563".
Created "Z564".
Created "Z565".
The ZObject "Z570" already exists and --force was not passed.
The ZObject "Z571" already exists and --force was not passed.
The ZObject "Z572" already exists and --force was not passed.
The ZObject "Z573" already exists and --force was not passed.
Created "Z574".
Created "Z575".
Mcastro triaged this task as Medium priority.
Mcastro moved this task from To Triage to Backlog on the Abstract Wikipedia team board.