Page MenuHomePhabricator

Filter edits by languages
Open, Needs TriagePublic

Description

Pages translations

Suggested here. @Pginer-WMF, it may interest you to work on namespaces filtering.

On a Multilingual wiki users can only filter Translations: namespace and sub-filter the translations by language. This way it is possible all recent translations in ont specific language to see what's new.

Can be interesting as well on Wikidata/Wikibase to only see the description fields changes that are only in the languages you speak.

Wikidata elements

An other aspect to consider is Wikidata, where edits can be multilingual as well. It is not interesting at all for a user only speaking French and English to have in the results list edits in Arabic or Chinese languages (feedback, a new one).

This is an important point to make filters on Wikidata efficient.

Proposed solution

Our model for advanced filters (T167384) allows to be extended. We can do the following:

  • Provide a "Languages" option in the advanced filters menu. I didn't set a prefix for it since there was not an obvious choice, but we can leave it without a prefix or add a multi character one such as "lang:".
  • Show a language selection panel where the user common languages are shown in a section on top to facilitate selection (those languages are determined by ULS). Selecting more than one language, results in the union of the results (i.e., contributions in both Japanese and Korean will be show if those languages are selected).
Option in the advanced filters menuSpecific panel to select languageLanguage filter added
RC-next-lang-menu.png (768×1 px, 252 KB)
RC-next-lang-panel.png (768×1 px, 185 KB)
RC-next-lang-added.png (768×1 px, 246 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Sorry, I'm not understanding how this would work or what the use case is. @Trizek-WMF, can you please flesh that out a little?

Sorry, I'm not understanding how this would work or what the use case is. @Trizek-WMF, can you please flesh that out a little?

In a multilingual wiki, a page such as this one can be in multiple languages such as Spanish or Czech. Since knowing the language in which the content is written is a requisite to do some kinds of review, it makes sense to provide users a way to target those changes. In this way, a Czech speaker can review changes to content in Czech.

This does not apply to wikis such as Wikipedia where each language is a separate wiki. Thus, each wiki only contain content in one language (except for small excerpts, city names, etc.).

Yes, this filter is only available on wikis where the Translate extension is installed. TLDR the only ones with substantial traffic AFAIK are Meta, Commons and Wikidata.

bewikimedia
betawikiversity
brwikimedia
cawikimedia
collabwiki
commonswiki
frwiktionary
incubatorwiki
legalteamwiki
mediawikiwiki
metawiki
nowikimedia
otrs_wikiwiki
outreachwiki
ruwikimedia
uawikimedia
specieswiki
testwiki
wbwikimedia
wikidata
wikimania2012wiki
wikimania2013wiki
wikimania2014wiki
wikimania2015wiki
wikimania2016wiki
wikimania2017wiki

Broadly, these are wikis that are central and/or multilingual in some way or other:

  • Meta: lots of translation happens here, and a lot of central pages, global policies, and help/documentation pages live here
  • Commons and Wikidata: since these are shared resources, policies and documentation pages for/about them are translated
  • MediaWiki.org: mostly technical documentation
  • Wikimania wikis (a different one for each conference but they're all similar): conference information lives here and is translated
  • Some of the chapter wikis, especially those in multilingual countries (e.g. Belgium)
  • A few one-offs, mostly private wikis
  • French Wiktionary?!
  • French Wiktionary?!

"The Wiktionaire:Actualités is a monthly magazine about French Wiktionary and related matters." And yes, it is translated on English. :)

Trizek-WMF renamed this task from Filter translations by languages in recent changes to Filter edits by languages in recent changes.May 19 2017, 4:01 PM
Trizek-WMF updated the task description. (Show Details)

Our model for advanced filters (T167384) allows to be extended. We can do the following:

  • Provide a "Languages" option in the advanced filters menu. I didn't set a prefix for it since there was not an obvious choice, but we can leave it without a prefix or add a multi character one such as "lang:".
  • Show a language selection panel where the user common languages are shown in a section on top to facilitate selection (those languages are determined by ULS). Selecting more than one language, results in the union of the results (i.e., contributions in both Japanese and Korean will be show if those languages are selected).
Option in the advanced filters menuSpecific panel to select languageLanguage filter added
RC-next-lang-menu.png (768×1 px, 252 KB)
RC-next-lang-panel.png (768×1 px, 185 KB)
RC-next-lang-added.png (768×1 px, 246 KB)

I'll add this on the ticket description as a proposed solution, that we can keep adjusting as the discussion continues.

Restricted Application added a subscriber: revi. · View Herald TranscriptJul 5 2017, 8:22 AM

Our model for advanced filters (T167384) allows to be extended. We can do the following:

  • Provide a "Languages" option in the advanced filters menu. I didn't set a prefix for it since there was not an obvious choice, but we can leave it without a prefix or add a multi character one such as "lang:".

I'm now used to type names when I create filters combinations. I would love to have it for all filters. :)

  • Show a language selection panel where the user common languages are shown in a section on top to facilitate selection (those languages are determined by ULS). Selecting more than one language, results in the union of the results (i.e., contributions in both Japanese and Korean will be show if those languages are selected).

You may want to have a way to check recent changes for all languages you speak and highlight your favorite one... I would like to have descriptions changes on Wikidata's RCs for French first, but also keep on eye on English and Spanish where I can time to time help.

Also an other point (or just a note) about variants and dialects:

  • some Wikis have multiple languages variants, like zh has zh-hk, zh-sg, zh-mo, zh-tw and zh-cn. The articles are written in common and have templates to convert particular terms. It is possible to display the page in a given written language. I don't know what is the impact of those language variants in RCs.
  • some other wikis have languages dialects. One article is written in a particular variant (Normand Wikipedia has articles in Peurch'ron, Contentinais, Jèrriais and Guernésiais) and only that one. Those articles are categorized (or not - Alemannic German Wikipedia has no categories for the 4 dialects - and sub-dialects! - they use) and have to be filtered by categories because the language is not detected. This is a precision we have to add to the documentation because I don't think we will have an easy way to detect dialects.
Trizek-WMF renamed this task from Filter edits by languages in recent changes to Filter edits by languages.Oct 12 2017, 8:42 AM
Winston_Sung subscribed.

Seems to be mul-sites instead of zh-sites.

Please do not add this tag for issues about /zh pages on multilingual sites