From: Pavel Selitskas Date: Fri, 30 Nov 2012 00:23:26 +0000 (+0300) Subject: (Bug 40367) MediaWiki:Contributions should support gender X-Git-Tag: 1.31.0-rc.0~21450^2 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=bd5389989ab73757494b7c943da2b71f80d0a89b;p=lhc%2Fweb%2Fwiklou.git (Bug 40367) MediaWiki:Contributions should support gender Change-Id: I80fea312e6f84b2aefaca23c751e6d44dd2ee787 --- diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index ddd0780dcd..da4af61e72 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -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 ) ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 81fea502d9..d405ad723c 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -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', diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index 9dfe974250..0d026eb418 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -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}}',