=== Description
On user pages **all logged-in users** will see the "User page" and "Talk" tabs, and the Contributions icon will be part of the toolbar. The toolbar on the User talk page should match the toolbar on the User page. The Uploads link is no longer available as a result of T233985.
=== Designs
| current non-AMC (for reference) | updated | updated user talk
| {F31467988} | {F31467990} | {F31467992}
== Acceptance Criteria
[] AMC user pages remains as is
[] Logged in users on user pages see contributions icon in toolbar and "User page" and "Talk" tabs
[] Anon user pages remains as is (anon users continue to see blue "Talk" link and "Contributions" links that are not in toolbar)
== 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() );
}
```