Page MenuHomePhabricator

Add message group description on Special:MessageGroupStats when it has stats
Closed, ResolvedPublic1 Estimated Story Points

Description

When Special:MessageGroupStats, also display the message group description. This provides some additional context for the user. Design TBD, i.e. up to the developer.


See Also: T65634: Add summary on Special:MessageGroupStats and its merged one-liner patch at https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Translate/+/132428/

Details

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:21 AM
bzimport set Reference to bz63635.
bzimport added a subscriber: Unknown Object (MLST).

Change 132428 had a related patch set uploaded by Harshkothari410:
Add summary to Special:MessageGroupStats

https://gerrit.wikimedia.org/r/132428

Change 132428 merged by jenkins-bot:
Add summary to Special:MessageGroupStats

https://gerrit.wikimedia.org/r/132428

Hi @siebrand, Is this task still open? If so is there any work to do with this task in Google-Code-in-2019 ?

If I understand correctly, here we are talking about displaying the description of the selected message group (if present) above the table with statistics. And this is only for direct use, not for embedded/includable.

Three notes for this idea:

  1. Currently, in the translatewiki.net, message goup description is shown on the top of Special:Translate and their content is given from items of especial translatable page Group descriptions
  2. Aggregate groups have their own descriptions (optional), but only in site language, untranslatable
  3. But translatable pages have not additional descriptions.

Therefore, currently is not a some single uhified place for message goup descriptions (with ability translations of these).

Tacsipacsi subscribed.

There is a unified place for message group descriptions: MessageGroup::getDescription(). Descriptions exist for translatewiki.net message groups, translatable pages and aggregate groups (the latter is not translatable, but it’s still better than nothing; the former two are translatable).

So the task is loading the MessageGroup object that belongs to the queried message group (this happens anyway), and call ->getDescription( $context ) on it. The special page is represented by the class MediaWiki\Extension\Translate\Statistics\MessageGroupStatsSpecialPage (rETRA src/Statistics/MessageGroupStatsSpecialPage.php).

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly pointed to the codebase URL and provide clear steps to help a contributor get setup for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Change #1105997 had a related patch set uploaded (by Hridyesh_Gupta; author: Hridyesh_Gupta):

[mediawiki/extensions/Translate@master] Added message group description on Special:MessageGroupStats when it has stats

https://gerrit.wikimedia.org/r/1105997

Change #1105997 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Add message group description on Special:MessageGroupStats

https://gerrit.wikimedia.org/r/1105997

This is the final UI with the description of the group over the table.

image.png (918×1 px, 200 KB)

abi_ subscribed.

Deployed on translatewiki.net:

image.png (1×1 px, 96 KB)