(Go: >> BACK << -|- >> HOME <<)

Page MenuHomePhabricator

ListObjectByType sometimes uses alias instead of label
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:
The subheader says:

"All Objects of type true/false (Z40)"

The list subheaded as "All Types" ends with
"true/false (Z40)"

What should have happened instead?:
"true/false" is not the label of Z40, but it is Boolean (see https://www.wikifunctions.org/view/en/Z40 )

So it should be
"All Objects of type Boolean (Z40)"

In the list of All types it should also be Boolean

Since we are already here, we can also remove the (Z40) (or file a separate bug for that)

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

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

Event Timeline

Jdforrester-WMF renamed this task from ListObjectByType uses alias instead of label to ListObjectByType sometimes uses alias instead of label.Mar 7 2024, 5:36 PM
Jdforrester-WMF triaged this task as Medium priority.
Jdforrester-WMF moved this task from To triage to Backlog on the Abstract Wikipedia team board.

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

[mediawiki/extensions/WikiLambda@master] Don't use alias in ListObjectByType if primary label is available

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

gengh changed the task status from Open to In Progress.Mar 20 2024, 10:44 AM
gengh moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change 1013017 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Don't use alias in ListObjectByType if primary label is available

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