Last modified: 2014-11-20 15:56:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59514, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57514 - Special:MessageGroupStats for a list of languages
Special:MessageGroupStats for a list of languages
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: kunalgrover05
gci2014
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-24 21:29 UTC by Platonides
Modified: 2014-11-20 15:56 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Platonides 2013-11-24 21:29:29 UTC
It should be possible to get the equivalent of Special:MessageGroupStats for a given list of languages.

According to https://www.mediawiki.org/wiki/Help:Extension:Translate/Statistics_and_reporting#Static_translation_statistics_table it should be doable by the maintenance script groupStatistics.php, but it should also be available to end users via a Special page and/or API action.
Comment 1 Platonides 2013-11-24 21:31:46 UTC
This may be a suitable GCI task.
Comment 2 Platonides 2013-11-24 21:33:25 UTC
Note: API action=query&meta=messagegroupstats exists, but without that parameter.
Comment 3 Quim Gil 2013-11-25 06:05:43 UTC
Thank you! Kartik, do you want to publish it as GCI task?
Comment 4 Niklas Laxström 2013-11-25 08:32:04 UTC
The requirements are unclear. As noted API module exists. Is this request for having server side language filtering instead of client side? Is the output expected to be a html table or what?
Comment 5 Platonides 2013-11-25 20:27:52 UTC
(In reply to comment #4)
> Is this request for having server side language filtering instead of client side? 

Yes

> Is the output expected to be a html table or what?
If it's implemented as a Special page, yes. I would expect an output identical to Special:MessageGroupStats, but containing exactly the given languages.
(actually, it should be a modification of that special page, I don't think it makes sense as a new one)
Comment 6 Nemo 2013-11-25 20:36:03 UTC
What's the purpose/use-case here? Is this about languages which are considered to be in priority?
Comment 7 Platonides 2013-11-25 20:43:04 UTC
Yes, suppose we mainly care about 10 translations, but there are -perhaps incomplete- translations in 100 languages. That complicates verifying the completion status of those.
Moreover, a page with that would also allow to share the links with non-technical people.


Can you, from a look at [1] quickly determine the status of tier 1 and tier 2 languages as defined in [2]?

1-  http://translatewiki.net/w/i.php?title=Special:MessageGroupStats&group=tsint-wlmsurvey
2- http://lists.wikimedia.org/pipermail/wikilovesmonuments/2013-November/007026.html
Comment 8 Nemo 2013-11-25 22:30:15 UTC
Thanks for providing everyone with the context. :)

Given that specific goal, one could just add a column where to sort for "tier 1", "tier 2" and all the rest. If I was forced to immediately adopt a workaround on a wiki with manual workflow states enabled, I'd abuse them by making one state mean "tier 1" and another "tier 2", then I'd sort the table first by completion second by state. Alternatively, one would have to introduce multiple priority languages levels [hmm] and to move their list to the table itself [this sounds sensible], cf. <https://meta.wikimedia.org/w/index.php?title=Special:MessageGroupStats&group=page-Wikimedia+Blog%2FDrafts%2FOpen+letter+from+the+12A+students+of+Sinenjongo+High+School+in+South+Africa>.

This just to answer your question and show how comment 0 is the result of some work you did to identify a specific solution to the problem; no idea what's best here.
Comment 9 Platonides 2013-11-25 23:27:15 UTC
Building a framework to tag languages by tier seems a much harder solution, but I agree it would also solve the stated case (at least until different people start tagging with criteria, such as “tier 1 for wikipedia” and “tier 1 for wlm”).
Comment 10 Gerrit Notification Bot 2014-03-16 22:07:55 UTC
Change 118990 had a related patch set uploaded by Kunalgrover05:
Access Special:MessageGroupStats for a list of languages

https://gerrit.wikimedia.org/r/118990
Comment 11 Gerrit Notification Bot 2014-05-06 13:48:57 UTC
Change 118990 merged by jenkins-bot:
Specify languages for MessageGroupStats and groups for LanguageStats

https://gerrit.wikimedia.org/r/118990
Comment 12 Nemo 2014-05-11 13:17:11 UTC
Kunal, the patch had to be reverted (see followup): can you please resubmit it?
Comment 13 Gerrit Notification Bot 2014-06-01 08:32:14 UTC
Change 136626 had a related patch set uploaded by Kunalgrover05:
Specify languages for MessageGroupStats and groups for LanguageStats

https://gerrit.wikimedia.org/r/136626
Comment 14 Andre Klapper 2014-11-20 14:58:40 UTC
Nemo: You added the gci2014 whiteboard entry but there is a patch here awaiting review. Could you elaborate your intention? :)
Comment 15 Nemo 2014-11-20 15:56:14 UTC
(In reply to Andre Klapper from comment #14)
> Nemo: You added the gci2014 whiteboard entry but there is a patch here
> awaiting review. Could you elaborate your intention? :)

The patch has a -1: the task would be to amend the patch to overcome the -1.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links