=== Description
The Contributions icon will be part of the toolbar on user pages.
=== Designs
| current (for reference) | updated
| {F30300376} | {F30300372}
== Developer notes
Our configuration flags don't seem to work here to make this a simple change unfortunately.
The tabs feature (wgMinervaTalkAtTop) cannot be turned on on just one page - it has to be turned on everywhere. We already do this for special pages though so editing logic should be straight forward.
```
/**
* @param bool $hasPageActions
* @param SkinOptions $skinOptions
* @return bool
*/
private function showTalkTabs( $hasPageActions, SkinOptions $skinOptions ) {
$hasTalkTabs = $hasPageActions && !$this->isMainPageTalk;
if ( !$hasTalkTabs && $this->isSpecialPage &&
$skinOptions->get( SkinOptions::TABS_ON_SPECIALS ) ) {
$hasTalkTabs = true;
}
return $hasTalkTabs;
}
```
Note: The upload link will be dropped. That's okay.
The contributions link is added (I think?) inside includes/menu/PageActions/ToolbarBuilder.php and possibly tied to the overflow mode.
```
if ( $userPageWithOveflowMode ) {
// User links are hidden when Overflow menu is visible. We want to show Contributions
// link on toolbar only when overflow is visible
$group->insertEntry( $this->createContributionsPageAction() );
}
```