Page MenuHomePhabricator

Language selector on argument labels is broken
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
Go to function editor fall back view.
Try and add a new language for an argument.

What happens?:
You are unable to get language options to show.

What should have happened instead?:
Languages should be selectable.

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

Other information (browser name/version, screenshots, etc.):
I believe this change broke it: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/824453

Event Timeline

Change 824731 had a related patch set uploaded (by Dani DW; author: Dani DW):

[mediawiki/extensions/WikiLambda@master] Ensure the language selector will show language options even if it is not passed usedLanguages.

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

Change 824731 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Ensure the language selector will show language options even if it is not passed usedLanguages.

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

I still don't get a language selector on items in an argument list, e.g. on https://wikifunctions.beta.wmflabs.org/w/index.php?title=Z802&action=edit&view=zobject-editor:

image.png (860×1 px, 80 KB)

There's a <div class="ext-wikilambda-monolingual"><span class="ext-wikilambda-select-zobject"><a href="/wiki/"></a> <!----></span></div> taking up that blank space, but nothing clickable.

Mahir256 renamed this task from Language selector on argument labels is broken. to Language selector on argument labels is broken.Aug 19 2022, 5:10 PM