Page MenuHomePhabricator

Special:SearchTranslation: Replace the old language selector with the rewrite
Closed, ResolvedPublic2 Estimated Story Points

Assigned To
Authored By
abi_
Mar 24 2026, 3:21 PM
Referenced Files
F84824295: image.png
Thu, May 28, 7:45 AM
F78274220: image.png
Apr 27 2026, 7:50 AM
F78271457: image.png
Apr 27 2026, 7:36 AM
F77481172: image.png
Apr 23 2026, 1:35 PM
F76756621: image.png
Apr 20 2026, 10:39 AM
F73568810: image.png
Mar 24 2026, 3:21 PM
F73568777: image.png
Mar 24 2026, 3:21 PM

Description

The language selector on Special:SearchTranslation can be replaced with the new rewrite if the user has enabled the beta feature.

See: https://translatewiki.net/w/i.php?title=Special%3ASearchTranslations&query=hello

image.png (1,042×627 px, 74 KB)

image.png (997×607 px, 61 KB)

Event Timeline

Nikerabbit lowered the priority of this task from Medium to Low.Apr 8 2026, 11:28 AM
Wangombe changed the task status from Open to In Progress.Apr 14 2026, 6:31 AM

Change #1272526 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/Translate@master] SpecialSearchTranslations: Load the new ULS rewrite if enabled

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

Change #1272526 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] SpecialSearchTranslations: Load the new ULS rewrite if enabled

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

As deployed and tested on translatewiki.net

image.png (2,259×1,392 px, 240 KB)

Nikerabbit subscribed.

Looks different to me:

image.png (1,293×1,299 px, 210 KB)

More importantly, it keeps opening automatically on every page load, which is annoying.

Change #1285788 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/UniversalLanguageSelector@master] ULS Rewrite: Set default visible flag to false

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

Change #1285803 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/Translate@master] Special:SearchTranslations: Use 'visible' argument in constructor

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

Change #1285788 merged by jenkins-bot:

[mediawiki/extensions/UniversalLanguageSelector@master] ULS Rewrite: add 'visible' arguement to createUniversalLanguageSelector()

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

Change #1285803 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Special:SearchTranslations: Use 'visible' argument in constructor

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

No longer opening unexpectedly, but when using it, the search bar moves around because the bottom is anchored to the element. By default it would be good to open it below the button if there is space to avoid this unwanted behavior.

Change #1294220 had a related patch set uploaded (by Huei Tan; author: Huei Tan):

[mediawiki/extensions/Translate@master] Special:SearchTranslations: change the ULS placement direction to bottom-start

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

Change #1294220 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Special:SearchTranslations: change the ULS placement direction

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

Nikerabbit moved this task from Need QA to Done on the LPL Essential (FY2025-26 Q3&4) board.

I observed a small "shake" (movement) of the page when the language selector is opened. It's very minor so not treating it as a blocker.