Page MenuHomePhabricator

SX URL contains duplicate "title" search parameter
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Visit Section Translation application with URL in the long format and source and target language prefilled.

e.g. https://el.m.wikipedia.org/w/index.php?title=Special:ContentTranslation&from=en&to=el

  1. Select a section or page to translate and click the primary button inside the "Confirm translation" screen (2nd step) to start the translation.
  1. The URL changes to include the "page" URL parameter and the "title" URL parameter appears twice (as demonstrated in the following screencast)

Screencast of the issue:

What should have happened instead?:
The "title" URL parameter should appear only once

Event Timeline

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

[mediawiki/extensions/ContentTranslation@master] SX: Remove duplicate "title" URL param after translation start

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

Change 859527 merged by jenkins-bot:

[mediawiki/extensions/ContentTranslation@master] SX: Remove duplicate "title" URL param after translation start

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

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

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

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

Change 867113 merged by jenkins-bot:

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

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

Test Status: QA PASS

title appears once in the URL