Wikimedia

Add GENDER support for message "Flow-notification-link-text-enabled-on-talkpage" in MediaWiki's flow 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 task, the the string should allow for gendered verb "view" (for current user gender)

Instructions:

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/Flow.git (where 'username' is your shell access)
  4. Go into the Flow/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.)

See https://phabricator.wikimedia.org/T113784

Task tags

  • php
  • flow

Students who completed this task

Muhaimin

Task type

  • code Code

Level

Beginner
close

2015