Page MenuHomePhabricator

Put translatable page progress indicators on the other side when outside page content
Open, MediumPublic4 Estimated Story Points

Description

Placement in the language selector

Currently the indicators are placed after the language labels in the language selector. The language selector has space reserved for this kind of indicators before the labels. This is used on Wikipedia for ignals such as featured/good article.

Spec showing the placement of indicatorsExample from Wikipedia
Language_Selector_Designs.pdf.jpg (599×799 px, 32 KB)
en.wikipedia.org_wiki_Moon(Wiki Tablet).png (768×1 px, 205 KB)

Conclusion

With the above changes the the language selector would look like this:

translatewiki.net_wiki_Help_us(Wiki Tablet).png (768×1 px, 147 KB)

Event Timeline

Currently the indicators are placed after the language labels in the language selector. The language selector has space reserved for this kind of indicators before the labels. This is used on Wikipedia for signals such as featured/good article.

I’ve thought about this, but I thought that they would be too prominent if placed before the links (only a small portion of languages have featured/good articles on a given subject, while all translations have progress levels, which results in much more indicators). However, looking at your mockup, it isn’t that bad, so it may be worth implementing it and evaluating it on other skins as well.

I’ve thought about this, but I thought that they would be too prominent if placed before the links (only a small portion of languages have featured/good articles on a given subject, while all translations have progress levels, which results in much more indicators). However, looking at your mockup, it isn’t that bad, so it may be worth implementing it and evaluating it on other skins as well.

Having the circles closer to the labels helps to perceive them more sa a unit, making the perception of being a lower number of elements (i.e., looking simpler). For cases where the language selector has many languages, andl multiple columns are used, placing the indicators after the label in the first column would make them closer to the labels of the second column, creating potential confusion too.

Also, maybe this shouldn’t be constrained to the ULS language selector. Other skins, like Vector 2010, also display the FA/GA badges left to the links, so if Vector 2022 is changed, it would make sense to change Vector 2010 (and other skins) as well to remain consistent.

Nikerabbit renamed this task from Put translatable page progress indicators on the other side in the ULS language selector to Put translatable page progress indicators on the other side when outside page content.Dec 18 2023, 6:54 AM

I did some initial exploration on this. I quickly identified that it is challenging to align the indicators which we are creating with ::after on the language selector where the badges style the list item ::marker instead. Unfortunately ::marker doesn't support css backgrounds.

On option would be to back to SVG images (which should btw solve the anti-aliasing issues too) where we can target them for ::marker or ::after depending on the context.

Change #1041694 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] ULS: Put progress indicators on other side for translatable pages

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

abi_ removed abi_ as the assignee of this task.Sep 19 2024, 8:23 AM
abi_ subscribed.

Currently not working on this.