Page MenuHomePhabricator

Wikidata import: incorrectly instantiating some zero values
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce (step by step instructions, with links, commands and necessary data to reproduce the error)

See the July 20 Comment in Wikifunctions project chat.

I've already identified the code that needs changing; planning to change during Fix-it week.

Observed behavior

  • Wikidata import code, in transform.js, generates the wrong value for Z16683K1/sign, for some cases where the value is zero.

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

  • Z16661 should be generated instead of Z16660, in these cases.

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

Jdforrester-WMF changed the task status from Open to In Progress.Jul 30 2025, 2:40 PM
Jdforrester-WMF assigned this task to DMartin-WMF.

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

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-07-29-155618 to 2025-08-01-154925

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

Change #1176230 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2025-07-29-155618 to 2025-08-01-154925

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