Page MenuHomePhabricator

Statistics for all translations in all languages in a site
Open, MediumPublic

Description

Currently the Translate extension provides two types of interesting statistics:

  • % of completion of all pages in a specific language, including "All message groups together"
  • % of completion of all languages in a specific page, including "All languages together"

However, what is missing is a table where you can see the % of translation of all message groups in all languages.

This is usually a good incentive for translators: "We are 4th in the ranking!", "Oh look, we just passed Greek!", "Careful, at this pace Polish will surpass us in a week..."

Less emotionally, :) it is also a good indicator for translators and site admins of the strongest/weakest languages in a wiki. Now it takes a lot of memory or browsing page by page.


See Also:

Details

Reference
bz54279

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:58 AM
bzimport set Reference to bz54279.

(In reply to comment #0)

This is usually a good incentive for translators: "We are 4th in the
ranking!",
"Oh look, we just passed Greek!", "Careful, at this pace Polish will surpass
us in a week..."

This reminds me that you can get a quick sense of how active a language is by looking at the word cloud at the beginning of [[Special:SupportedLanguages]].

(In reply to comment #1)

(In reply to comment #0)

This is usually a good incentive for translators: "We are 4th in the
ranking!",
"Oh look, we just passed Greek!", "Careful, at this pace Polish will surpass
us in a week..."

This reminds me that you can get a quick sense of how active a language is by
looking at the word cloud at the beginning of [[Special:SupportedLanguages]].

I guess this refers to https://translatewiki.net/wiki/Special:SupportedLanguages , not to any page currently available on Wikimedia wikis?

(In reply to comment #2)

I guess this refers to
https://translatewiki.net/wiki/Special:SupportedLanguages , not to any page
currently available on Wikimedia wikis?

It's available on all Translate wikis. It was disabled on Wikimedia wikis, see bug 52728.

Kunal, I'm marking this as assigned to you because you showed interest; reset assignee if you're no longer interested.
Kunal discussed this with me and Siebrand separately and we both suggested creating a default message group that would contain all message groups; then this feature would be satisfied by Special:MessageGroupStats without further modifications.

As I noted on IRC, creating an aggregate message group consisting of messages in different namespaces is not currently possible. You would have to find another way to implement it.

(In reply to Niklas Laxström from comment #5)

As I noted on IRC, creating an aggregate message group consisting of
messages in different namespaces is not currently possible. You would have
to find another way to implement it.

Or rather, that's a bug which should be filed and marked as blocker of this. (Until someone comes up with another solution.)

If Translate can display all these statistics separately, couldn't it display them in a same page? For instance, based on the data of pages like

https://www.mediawiki.org/w/index.php?title=Special%3ALanguageStats&x=D&language=de

A new page would show

Language Messages Untranslated Completion Outdated

German 5,137 3,166 38% 3%
Finnish 5,125 4,666 8% 1%

etc

(In reply to Quim Gil from comment #7)

If Translate can display all these statistics separately, couldn't it
display them in a same page?

Yes, see comment 4.

Kunal, are you still planning to work on this?

I wish I'm wrong, but can it be that this task is too complex for Google Code-in (although perhaps it could be split into digestive pieces) and too simple for a full internship?

Nemo_bis added a subscriber: Kunalgrover05.

I think it's not that hard; the fix was reverted for some rather minor issues. However, it's fine to acknowledge that Kunal has enough stuff on his plate. :)

Qgil set Security to None.

I couldn't figure out how to fix the issues in the patch https://gerrit.wikimedia.org/r/#/c/136626/, any suggestions?

I couldn't figure out how to fix the issues in the patch https://gerrit.wikimedia.org/r/#/c/136626/, any suggestions?

The issue is that the aggregate group hierarchy is broken with this patch. I have a feeling we're very close. Maybe Niklas can have a look and indicate in which area something is being messed up?

This information is easily available via MessageGroupStats::forEverything It is just not exposed anywhere. Some logic is needed ala LanguageStats to deduplicate things.