Page MenuHomePhabricator

Special:Translate ignores optional=1 in the URL
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to reproduce

  1. Open https://translatewiki.net/w/i.php?title=Special:Translate&group=out-osm-0-all&language=fr&filter=fuzzy&action=translate&optional=1.
  2. After the page finished loading, look at the URL as well as the Optional messages checkbox.

Actual result

  1. &optional=1 is gone from the URL, the checkbox is unchecked.
    Screenshot 2024-11-01 at 11-11-31 Translate - translatewiki.net.png (106×813 px, 16 KB)

Expected result

  1. &optional=1 is still in the URL, the checkbox is checked (and outdated optional messages are shown).
    Screenshot 2024-11-01 at 11-11-58 Translate - translatewiki.net.png (112×825 px, 27 KB)

Event Timeline

Change #1085571 had a related patch set uploaded (by Tacsipacsi; author: Tacsipacsi):

[mediawiki/extensions/Translate@master] fix(Special:Translate): Do not ignore optional=1 in URL

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

Change #1085571 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] fix(Special:Translate): Do not ignore optional=1 in URL

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

abi_ triaged this task as Medium priority.Nov 5 2024, 6:19 AM