(Bug 40367) MediaWiki:Contributions should support gender
authorPavel Selitskas <p.selitskas@gmail.com>
Fri, 30 Nov 2012 00:23:26 +0000 (03:23 +0300)
committerPavel Selitskas <p.selitskas@gmail.com>
Fri, 30 Nov 2012 00:23:26 +0000 (03:23 +0300)
Change-Id: I80fea312e6f84b2aefaca23c751e6d44dd2ee787

includes/SkinTemplate.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php

index ddd0780..da4af61 100644 (file)
@@ -1207,6 +1207,7 @@ class SkinTemplate extends Skin {
                        $rootUser = $user->getName();
 
                        $nav_urls['contributions'] = array(
+                               'text' => $this->msg( 'contributions', $rootUser )->text(),
                                'href' => self::makeSpecialUrlSubpage( 'Contributions', $rootUser )
                        );
 
index 81fea50..d405ad7 100644 (file)
@@ -3116,7 +3116,7 @@ $1',
 'blanknamespace'                => '(Main)',
 
 # Contributions
-'contributions'         => 'User contributions',
+'contributions'         => '{{GENDER:$1|User}} contributions',
 'contributions-summary' => '', # do not translate or duplicate this message to other languages
 'contributions-title'   => 'User contributions for $1',
 'mycontris'             => 'Contributions',
index 9dfe974..0d026eb 100644 (file)
@@ -3033,7 +3033,9 @@ This message has a tooltip {{msg-mw|tooltip-namespace association}}',
 'blanknamespace' => 'Name for main namespace (blank namespace) in drop-down menus at [[Special:RecentChanges]] and other special pages.',
 
 # Contributions
-'contributions' => "Display name for the 'User contributions', shown in the sidebar menu of all user pages and user talk pages. Also the page name of the target page. The target page shows an overview of the most recent contributions by a user.",
+'contributions' => "Display name for the 'User contributions', shown in the sidebar menu of all user pages and user talk pages. Also the page name of the target page. The target page shows an overview of the most recent contributions by a user. Parameter $1 is the username.
+
+{{Gender}}",
 'contributions-title' => 'The page title in your browser bar, but not the page title. See also {{msg|contributions}}. Parameter $1 is the username.
 
 {{Gender}}',