Page MenuHomePhabricator

Clicking the ellipsis button is not working as expected
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce:

  • go to any wiki such as https://en.wikipedia.org/wiki/Owo_church_attack
  • Under languages click the "languages symbol and more"
  • Click the missing in XXX, YYY, and more
  • Then click the Ellipsis (3 dot) button. Observe that nothing happens.

What happens?:
Nothing happens and in the backend displays the error below

TypeError: Cannot read properties of null (reading 'replace')
    at mw.cx.SiteMapper.getPageUrl (<anonymous>:24:746)
    at mw.cx.SiteMapper.getCXUrl (<anonymous>:26:902)
    at Proxy.redirectToCX (<anonymous>:20:880)
    at onClick (eval at Mp (load.php?lang=en&modules=jquery%2Cvue%7Cjquery.ui&skin=vector-2022&version=1ay06:292:584), <anonymous>:79:27)
    at Ft (load.php?lang=en&modules=jquery%2Cvue%7Cjquery.ui&skin=vector-2022&version=1ay06:160:584)
    at Vt (load.php?lang=en&modules=jquery%2Cvue%7Cjquery.ui&skin=vector-2022&version=1ay06:160:662)
    at HTMLButtonElement.n (load.php?lang=en&modules=jquery%2Cvue%7Cjquery.ui&skin=vector-2022&version=1ay06:226:971)

What should have happened instead?:
Clicking the ellipsis button should have opened up the CX tool

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Chrome browser was used for this.

screen_shot_2022-06-22_at_8.46.40_am.png (514×1 px, 183 KB)

Event Timeline

Change 807932 had a related patch set uploaded (by Santhosh; author: Santhosh):

[mediawiki/extensions/ContentTranslation@master] ULS entrypoint: Clicking the ellipsis button is not working as expected

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

Change 807932 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] ULS entrypoint: Clicking the ellipsis button is not working as expected

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

testing status: QA PASS

Ellipsis button now works as expected as it navigates user to the CX tool to initiate a new translation

unable to attached the video as Phabricator won't attach it.

Pginer-WMF added a subscriber: Pginer-WMF.

When testing it, I noticed that the user is directed to Content Translation but the page to translate is not pre-selected. I created a follow-up ticket for that aspect: T311820: Pre-select page to translate from missing languages in language selector (mobile and desktop) when target language is not defined

@Pginer-WMF I had the same question when looking at this. I did think when you click the "Ellipsis" does it take you to the pre-selected lang and article to translate to. But when you click the two (2) mentioned Language as highlighted in the attachment it does take you to the pre-selected article and from and to language to be converted to. That part was a tad bit confusing but thanks for clarifying that part. I would still argue it should be part of this ticket but you have created another ticket.

Thanks

Screen Shot 2022-07-01 at 9.19.59 AM.png (387×730 px, 81 KB)