Page MenuHomePhabricator

Unified Dashboard: URL hash should be preserved when URL is updated
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Go to the unified dashboard
  2. Click on a section suggestion to start a translation (not page suggestion)
  3. Proceed to the "Compare contents" step (Dashboard -> Confirm translation -> Pick a section -> Compare contents).

What happens?:
After the section contents are loaded, the #/sx/content-comparator hash is removed from the URL.

What should have happened instead?:
The hash should always be preserved in the URL.

Screencast from greek (el) production wiki:

Event Timeline

ngkountas triaged this task as Medium priority.Feb 19 2025, 10:39 AM

Change #1120931 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] Preserve URL hash when replacing URL

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

Change #1120931 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] Preserve URL hash when replacing URL

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

Change #1122111 had a related patch set uploaded (by Nik Gkountas; author: Nik Gkountas):

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20250224

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

Change #1122111 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] CX3 Build 0.2.0+20250224

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

test status: QA PASS

URL hash is preserved is always present with the section translation process

the content-comparator is always present with the section translation process up until translation begins