mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-12 00:48:46 +00:00
Remove Recent Changes from Main Menu
We decided to remove the Recent Changes menu entry from Advanced menu for now, we might come back to it later. For more info: https://phabricator.wikimedia.org/T216152#5123296 Bug: T216152 Change-Id: I6342e273fdc5f483692de6e1ac238c38d06f3e5f
This commit is contained in:
parent
ad7e941bde
commit
692309090d
|
@ -277,23 +277,6 @@ final class Definitions {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Build and insert the RecentChanges link
|
||||
* @param Group $group
|
||||
* @throws MWException
|
||||
*/
|
||||
public function insertRecentChanges( Group $group ) {
|
||||
$title = SpecialPage::getTitleFor( 'Recentchanges' );
|
||||
|
||||
$group->insert( 'recentchanges' )
|
||||
->addComponent(
|
||||
$this->context->msg( 'recentchanges' )->escaped(),
|
||||
$title->getLocalURL(),
|
||||
MinervaUI::iconClass( 'recentchanges', 'before' ),
|
||||
[ 'data-event-name' => 'recentchanges' ]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Build and insert the SpecialPages link
|
||||
* @param Group $group
|
||||
|
|
|
@ -57,7 +57,6 @@ class AdvancedBuilder extends DefaultBuilder {
|
|||
public function getSiteTools() {
|
||||
$group = new Group();
|
||||
|
||||
$this->definitions->insertRecentChanges( $group );
|
||||
$this->definitions->insertSpecialPages( $group );
|
||||
$this->definitions->insertCommunityPortal( $group );
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<svg width="21" height="17" xmlns="http://www.w3.org/2000/svg"><path d="M0 16.625h21v-4.156H0v4.156zm2.1-3.117h2.1v2.078H2.1v-2.078zM0 0v4.156h21V0H0zm4.2 3.117H2.1V1.04h2.1v2.078zM0 10.391h21V6.234H0v4.157zm2.1-3.118h2.1v2.079H2.1V7.273z" fill="#4A4F53"/></svg>
|
Before Width: | Height: | Size: 262 B |
|
@ -345,7 +345,6 @@
|
|||
"settings": "resources/skins.minerva.mainMenu.icons/settings.svg",
|
||||
"watchlist": "resources/skins.minerva.mainMenu.icons/watchlist.svg",
|
||||
"contributions": "resources/skins.minerva.mainMenu.icons/contributions.svg",
|
||||
"recentchanges": "resources/skins.minerva.mainMenu.icons/recentchanges.svg",
|
||||
"specialpages": "resources/skins.minerva.mainMenu.icons/specialpages.svg",
|
||||
"communityportal": "resources/skins.minerva.mainMenu.icons/communityportal.svg"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue