Page MenuHomePhabricator

Consider moving page translation language links to the sidebar
Open, Needs TriagePublic

Description

Thanks to T64702: Extension:Translate's languages box should look like interwiki language links the Translate extension can now display language links in the sidebar.

The extensions comes with four configuration options:

  • tag-only: Only display languages with the <languages /> tag.
  • sidebar-only: Display languages as interlanguage links only and ignore the tag even if present on the page.
  • sidebar-fallback: Display languages as interlanguage links if no tag is on the page.
  • sidebar-always: Display languages as interlanguage links and also in tag if it is present on the page.

The extension default option is currently tag-only, to preserve current behavior. Let's use this task to discuss whether we want to use one of the other options on Wikimedia sites, and when/how to do it if so.

sidebar-fallback:

sidebar-only:

  • can be used if we want to consistently have the language links in the sidebar
  • will mix interlanguage and page translation links together, and compact language links feature will be confused by duplicate language codes

Q&A

  1. What happens to pages with regular interlanguage links
    1. We think the links will show up mixed together, compact language links feature is likely to not work well with "duplicate" language codes
  2. What happens to the admin actions
    1. They will stay in their current place at the top of the page
  3. What happens on mobile views
    1. There should be no difference (pending confirmation via testing)
  4. How was this designed/come up with
    1. commit message has some information. It was implemented as an experiment to address a frequently asked feature. There is/was also a competing unreviewed patch to address "the issue" in other way.

Preview in the Timeless skin

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 11 2018, 5:51 PM
stjn awarded a token.Sep 11 2018, 6:01 PM

There is question about new look: this is designed identically with interwiki language links pane.

But what about the pages that have both translations and interwiki? For example, https://meta.wikimedia.org/wiki/Meta:About (as comparision with https://translatewiki.net/wiki/Project:About)
How will they differ on the same page? Currently used these same message from header?

Nikerabbit updated the task description. (Show Details)Sep 18 2018, 5:46 AM
Kaganer added a comment.EditedSep 21 2018, 9:32 AM

Small note: look of bottom interwiki box in Meta currently is strange - listed interlanguage links targets to Wiikipedia only, but header is "In other languages"

Commons settings is more corectly:

This pane named as "In Wikipedia"

In these settings new box with header like "In other languages" will come here quite clearly.

See also T205071

Nikerabbit updated the task description. (Show Details)Oct 1 2018, 9:44 AM
Nikerabbit updated the task description. (Show Details)Oct 1 2018, 11:16 AM
Nikerabbit updated the task description. (Show Details)Oct 1 2018, 11:20 AM
Nikerabbit updated the task description. (Show Details)Oct 1 2018, 11:25 AM