mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
Remove "uploads" link from userpages in AMC mode
This follows up I0d7eb72a2663f1d1138afe09124a154ad0502498 Bug: T233985 Change-Id: I25cc6cd261cd92cd76ea914c73b2cd8d82fa9213
This commit is contained in:
parent
b962edb559
commit
14476b4bd1
|
@ -30,7 +30,6 @@ use MessageLocalizer;
|
|||
use MinervaUI;
|
||||
use MWException;
|
||||
use Title;
|
||||
use SpecialPage;
|
||||
use User;
|
||||
|
||||
class UserNamespaceOverflowBuilder implements IOverflowBuilder {
|
||||
|
@ -98,9 +97,6 @@ class UserNamespaceOverflowBuilder implements IOverflowBuilder {
|
|||
'minerva-page-actions-language-switcher'
|
||||
) );
|
||||
}
|
||||
$group->insertEntry( $this->build(
|
||||
'uploads', 'upload', SpecialPage::getTitleFor( 'Uploads', $this->pageUser )->getLocalURL()
|
||||
) );
|
||||
|
||||
$possibleEntries = array_filter( [
|
||||
$this->buildFromToolbox( 'user-groups', 'userGroup', 'userrights', $toolbox ),
|
||||
|
|
Loading…
Reference in a new issue