Merge "User menu overflow: add change block and unblock"

This commit is contained in:
jenkins-bot 2022-07-18 17:47:35 +00:00 committed by Gerrit Code Review
commit 67b54fd33c
4 changed files with 8 additions and 0 deletions

View file

@ -48,10 +48,12 @@
"minerva-page-actions-info": "Page information",
"minerva-page-actions-permalink": "Permanent link",
"minerva-page-actions-backlinks": "What links here",
"minerva-page-actions-change-block": "Change block",
"minerva-page-actions-cite": "Cite page",
"minerva-page-actions-move": "Move",
"minerva-page-actions-delete": "Delete",
"minerva-page-actions-protect": "Protect",
"minerva-page-actions-unblock": "Unblock user",
"minerva-page-actions-unprotect": "Unprotect",
"minerva-page-actions-user-groups": "User groups",
"minerva-page-actions-block": "Block user",

View file

@ -62,10 +62,12 @@
"minerva-page-actions-info": "In the secondary page menu, the page information button label",
"minerva-page-actions-permalink": "In the secondary page menu, the permanent link button label\n\nSee also:\n* {{msg-mw|permalink}}",
"minerva-page-actions-backlinks": "In the secondary page menu, the 'what links here' incoming links button label\n\nSee also:\n* {{msg-mw|whatlinkshere}}",
"minerva-page-actions-change-block": "In the secondary page menu, the change block button label",
"minerva-page-actions-cite": "In the secondary page menu, the cite this page button label\n\nSee also:\n* {{msg-mw|citethispage-link}}",
"minerva-page-actions-move": "In the secondary page menu, the move this page button label\n\nSee also:\n* {{msg-mw|move}}\n{{identical|Move}}",
"minerva-page-actions-delete": "In the secondary page menu, the delete this page button label\n\nSee also:\n* {{msg-mw|delete}}\n{{identical|Delete}}",
"minerva-page-actions-protect": "In the secondary page menu, the protect this page button label\n\nSee also:\n* {{msg-mw|protect}}",
"minerva-page-actions-unblock": "In the secondary page menu, the unblock button label",
"minerva-page-actions-unprotect": "In the secondary page menu, the unprotect this page button label\n\nSee also:\n* {{msg-mw|unprotect}}",
"minerva-page-actions-user-groups": "In the secondary page menu for user pages, the user groups button label",
"minerva-page-actions-block": "In the secondary page menu for user pages, the block button label",

View file

@ -96,6 +96,8 @@ class UserNamespaceOverflowBuilder implements IOverflowBuilder {
$possibleEntries = array_filter( [
$this->buildFromToolbox( 'user-groups', 'userGroup', 'userrights', $toolbox ),
$this->buildFromToolbox( 'block', 'block', 'blockip', $toolbox ),
$this->buildFromToolbox( 'change-block', 'block', 'changeblockip', $toolbox ),
$this->buildFromToolbox( 'unblock', 'unBlock', 'unblockip', $toolbox ),
$this->buildFromToolbox( 'logs', 'listBullet', 'log', $toolbox ),
$this->buildFromToolbox( 'info', 'infoFilled', 'info', $toolbox ),
$this->buildFromToolbox( 'permalink', 'link', 'permalink', $toolbox ),
@ -111,6 +113,7 @@ class UserNamespaceOverflowBuilder implements IOverflowBuilder {
foreach ( $possibleEntries as $menuEntry ) {
$group->insertEntry( $menuEntry );
}
return $group;
}

View file

@ -334,6 +334,7 @@
"listBullet",
"logoWikidata",
"quotes",
"unBlock",
"unLock",
"userAvatarOutline",
"userTalk",