Merge "Add block button to user namespace overflow"

This commit is contained in:
jenkins-bot 2022-05-13 15:01:04 +00:00 committed by Gerrit Code Review
commit 81ff89f04b
4 changed files with 4 additions and 0 deletions

View file

@ -54,6 +54,7 @@
"minerva-page-actions-protect": "Protect",
"minerva-page-actions-unprotect": "Unprotect",
"minerva-page-actions-user-groups": "User groups",
"minerva-page-actions-block": "Block user",
"minerva-page-actions-logs": "Logs",
"minerva-page-actions-wikibase": "{{WBREPONAME}} item",
"minerva-page-actions-language-switcher": "Languages",

View file

@ -68,6 +68,7 @@
"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-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",
"minerva-page-actions-logs": "In the secondary page menu for user pages, the user logs button label",
"minerva-page-actions-wikibase": "In the secondary page menu, the wikibase item button label",
"minerva-page-actions-language-switcher": "In the secondary page menu, the language switcher item button label\n{{Identical|Language}}",

View file

@ -95,6 +95,7 @@ class UserNamespaceOverflowBuilder implements IOverflowBuilder {
$possibleEntries = array_filter( [
$this->buildFromToolbox( 'user-groups', 'userGroup', 'userrights', $toolbox ),
$this->buildFromToolbox( 'block', 'block', 'blockip', $toolbox ),
$this->buildFromToolbox( 'logs', 'listBullet', 'log', $toolbox ),
$this->buildFromToolbox( 'info', 'infoFilled', 'info', $toolbox ),
$this->buildFromToolbox( 'permalink', 'link', 'permalink', $toolbox ),

View file

@ -322,6 +322,7 @@
"defaultColor": "#54595d",
"class": "ResourceLoaderOOUIIconPackModule",
"icons": [
"block",
"ellipsis",
"articleRedirect",
"infoFilled",