Page MenuHomePhabricator

[XS] Special:MediaSearch - display issues for wikibasemediainfo-special-mediasearch-empty-state
Closed, ResolvedPublic

Description

Split from this comment on T265092

On Special:MediaSearch - the message wikibasemediainfo-special-mediasearch-empty-state ( see the message on the translatewiki.net) displays some issues in the following languages:

(1) Hindi lang (hi) :

<span class="wbmi-media-search--empty-state__file-count">$1</span> {{PLURAL:$1|मीडिया फ़ाइल|मीडिया फ़ाइलें}} उस {{PLURAL:$ 1| ।है।हैं}} फिर से उपयोग करने के लिए स्वतंत्र

Screen Shot 2020-11-18 at 2.29.39 PM.png (288×507 px, 30 KB)

Not an issue anymore-change in design (2) (a minor issue) for Turkish (tr) and Traditional Chinese (zh-hant) the number is not bolded:

Screen Shot 2020-11-18 at 3.12.03 PM.png (419×857 px, 46 KB)
Screen Shot 2020-11-18 at 3.11.49 PM.png (508×907 px, 67 KB)

DONE (3) for Macedonian (mk) language - the message is repeated:

"Пребарајте повеќе од <span class="wbmi-media-search-empty-state__file-count">$1</span> {{PLURAL:$1|податотека|податотеки}} {{PLURAL:$1|која е|кои се}} за слободна пренамена

<span class="wbmi-media-search-empty-state__file-count">$1</span> {{PLURAL:$1|податотека|податотеки}} за слободна пренамена

Screen Shot 2020-11-18 at 3.02.51 PM.png (427×1 px, 50 KB)

Event Timeline

CBogen renamed this task from Special:MediaSearch - display issues for wikibasemediainfo-special-mediasearch-empty-state to [XS] Special:MediaSearch - display issues for wikibasemediainfo-special-mediasearch-empty-state.Dec 16 2020, 5:28 PM

I re-checked for commons wmf.22' and betalabs` and updated the task description.
commons wmf.22

LangThe issue is present?
(1) hiYes
(2) trNo
(2)zh-hantYes
(3) mkNo

betalabs seems do not have anymore <span class="wbmi-media-search-empty-state__file-count">, so the number of files is not bolded for all languages.

LangThe issue is present?
(1) hiYes
(2) trYes
(2)zh-hantYes
(3) mkNo

Verified on commons wmf.25 - the issue with hi lang is present - moving back to Incoming for re-evaluation.

Screen Shot 2021-01-06 at 1.47.49 PM.png (570×869 px, 68 KB)

Also, it's confirmed that the number of files is not bolded for all languages (unless it's intentional, it's a regression issue).

I've updated the English message to remove the markup, and removed the associated CSS style. This is all we will plan to do to resolve this—we will wait for the markup to be removed from the message in other language files as this change propagates on translatewiki.

Etonkovidova claimed this task.

Closing this task after review - the message for Hindi lang - MediaWiki:wikibasemediainfo-special-mediasearch-empty-state is marked as needed to be updated. As per the above @Anne T's comment - all what's needed is done.

Presently, commons wmf.11 still has the non-updated message for Hindi language.