Page MenuHomePhabricator

Filter group from Special:LanguageStats when group is not a priority language
Closed, ResolvedPublic

Description

A translatable page that is not set as a priority language, should not be displayed on Special:LanguageStats for that language.

Test case:

  1. https://meta.wikimedia.org/wiki/Iberocoop:Portada is a translatable page. It has priority languages Spanish, Portuguese, Italian and English[1]
  2. On Special:LanguageStats for Dutch (see URL), the page is being advertised with 0% translated.

Expected: Iberocoop:Portada shouldn't be displayed on Special:LanguageStats/nl because it is not a priority language for Dutch.

[1] https://meta.wikimedia.org/w/index.php?title=Special:Log&page=Iberocoop%3APortada&uselang=en


Version: master
Severity: major
URL: https://meta.wikimedia.org/w/index.php?title=Special%3ALanguageStats&x=D&language=nl&action=purge

Details

Reference
bz47879

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:23 AM
bzimport set Reference to bz47879.
siebrand created this task.Apr 30 2013, 2:45 PM

In the given example, the log says, the priority languages are set as Spanish, Portuguese, Italian and English. But it is not a forced limitation. Other languages are not prevented from translation.

If it was forced limitation, the log will read like:

"limited languages for translatable page Iberocoop:Portada to Spanish, Portuguese, Italian and English"

That is why it is appearing in language stats page.

If the languages were limited using the checkbox("Prevent translations..") while marking the page for translation, it will not appear in Languagestats page.

(This feature was done in commit 4de82dbf3ec559dcd8858323efe1d87cc654cbaa by Niklas on Feb 28 2012)

Closing as invalid was incorrect

Are you suggesting that even if it is not a forced priority, we need to hide from language stats?

(In reply to comment #3)

Are you suggesting that even if it is not a forced priority, we need to hide
from language stats?

I'm no suggesting it, it's a requirement defined precisely so in the first sentence of this issue report.

Related URL: https://gerrit.wikimedia.org/r/65092 (Gerrit Change I2529498a4a4fd5b6f1530158797549ff16b9f5a1)