Project

General

Profile

Actions

Task #2882

closed

Translate extension: new config option to always display language links

Added by Beluga Beluga over 5 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Low
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

Last year a feature was added to Translate that would allow us to skip adding the <languages /> element to a page in order to provide language links: https://phabricator.wikimedia.org/T64702

It seems the documentation has not been updated, but this says that there are configuration options to control the behaviour: https://phabricator.wikimedia.org/T204076
I guess it would be good for consistency to just use the "sidebar-only" config option.

Actions #1

Updated by Guilhem Moulin over 5 years ago

AFAICT `$wgPageTranslationLanguageList` is a new setting from https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Translate/+/437062/ , which was merged to master and REL1_32. It's a no-op for us right now, as we're targeting LTS versions and are therefore on 1.31 at the moment: https://www.mediawiki.org/wiki/Version_lifecycle .

Actions #2

Updated by Florian Effenberger over 5 years ago

  • Target version set to Qlater
Actions #3

Updated by Florian Effenberger over 4 years ago

  • Target version changed from Qlater to Q3/2020

Blocking on next LTS, due ~August

Actions #4

Updated by Guilhem Moulin almost 4 years ago

  • Target version changed from Q3/2020 to Q1/2021

Florian Effenberger wrote:

Blocking on next LTS, due ~August

I don't recall how come we decided to set the target to Q3 2020, but excluding point releases (bug/security fixes) we typically don't upgrade immediately after upstream releases a version.

Upgraded to 1.35 last week-end and Beluga Beluga says the new change took effect, so closing this now.

Actions #5

Updated by Dennis Roczek almost 4 years ago

  • Status changed from New to Feedback
  • Priority changed from Normal to Low
  • Target version deleted (Q1/2021)

Guilhem Moulin wrote:

Upgraded to 1.35 last week-end and Beluga Beluga says the new change took effect, so closing this now.

And the change was reverted because of https://phabricator.wikimedia.org/T47096 is blocking us: in the sidebar "English" is linking to /en pages which does not include existing templates and categories, but with /en postfix.

/me is subscribed to the phabricator ticket and will respond when it is fixed.

Actions #6

Updated by Beluga Beluga almost 2 years ago

  • Status changed from Feedback to Closed

I tested this locally and with Vector skin, the languages don't appear in the sidebar. Rather, they are hidden behind a dropdown that says "x languages", located in the row with the page heading. So it is behind an extra click. It has a search and on pages with tons of translated languages it can be cleaner than the current navigation, but I don't think it's worth the inconvenience of the extra click.

Closing.

Actions

Also available in: Atom PDF