Wikimedia

Add GENDER support for message "moodbar-feedback-response-summary" in MediaWiki's Moodbar extension

MediaWiki supports translation of messages to other languages. Some languages have gendered verbs, where the verb has two different versions between female and male speakers. We allow for those uses in translation through a special wrapper called {{GENDER:}}.

Read more about GENDER and PLURAL language in MediaWiki: https://www.mediawiki.org/wiki/Manual:Messages_API#Notes_about_gender.2C_grammar.2C_plural

In this particular task, the message should allow for the gendered verbs "responded" and "finds" based on the respective parameter/users. NOTICE that there are two verbs to add GENDER support to in this sentence.

Steps to work on this task:

Please make sure to read this page, as you will need to have Developer Access first: https://www.mediawiki.org/wiki/Google_Code-in_2015#Instructions_for_GCI_students

But to summarize:

  1. Go to https://www.mediawiki.org/wiki/Developer_access and sign up for dev access.
  2. Make sure you have git, git-review installed https://www.mediawiki.org/wiki/Gerrit/Tutorial.
  3. Clone ssh://username@gerrit.wikimedia.org:29418/mediawiki/extensions/MoodBar.git (where 'username' is your shell access)
  4. Go into the i18n folder, and find the relevant message string in the en.json file.
  5. Add GENDER support to the relevant string according to the given documentation.
  6. Commit your code to a branch, and send it to gerrit (through git review.)

For more information, see the task: https://phabricator.wikimedia.org/T99066

Task tags

  • i18n
  • json
  • php
  • language
  • l10n

Students who completed this task

Albert221

Task type

  • code Code
close

2015