Rename UserRights to UserGroups

The "User Rights" is called "User groups" on desktop. The Mobile site
should not provide it's onw naming but use the same names as desktop.

Bug: T230694
Depends-On: Ic9b7033e3f52f415ec8aec845a65a8452d0e5d8f
Change-Id: Iaf116a5cc54cc400451550d9fa958adbbccc35c5
This commit is contained in:
Piotr Miazga 2019-09-05 12:10:58 +02:00
parent fcf1deb9de
commit add29651b0
4 changed files with 12 additions and 4 deletions

View file

@ -54,7 +54,7 @@
"minerva-page-actions-backlinks": "What links here",
"minerva-page-actions-cite": "Cite page",
"minerva-page-actions-uploads": "Uploads",
"minerva-page-actions-user-rights": "User rights",
"minerva-page-actions-user-groups": "User groups",
"minerva-page-actions-logs": "Logs",
"minerva-page-actions-wikibase": "{{WBREPONAME}} item",
"minerva-page-actions-language-switcher": "Languages",

View file

@ -63,7 +63,7 @@
"minerva-page-actions-backlinks": "In the secondary page menu, the 'what links here' incoming links button label",
"minerva-page-actions-cite": "In the secondary page menu, the cite this page button label",
"minerva-page-actions-uploads": "In the secondary page menu for user pages, the user uploads button label",
"minerva-page-actions-user-rights": "In the secondary page menu for user pages, the user rights button label",
"minerva-page-actions-user-groups": "In the secondary page menu for user pages, the user groups 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|Languages}}",

View file

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

View file

@ -287,7 +287,15 @@
"defaultColor": "#54595d",
"class": "ResourceLoaderOOUIIconPackModule",
"icons": [ "articleRedirect", "infoFilled", "link", "listBullet",
"logoWikidata", "logoWikimedia", "quotes", "upload", "userAvatarOutline", "userTalk", "userAvatar" ]
"logoWikidata",
"logoWikimedia",
"quotes",
"upload",
"userAvatarOutline",
"userTalk",
"userAvatar",
"userGroup"
]
},
"skins.minerva.icons.wikimedia": {
"selectorWithoutVariant": ".mw-ui-icon-wikimedia-{name}-base20:before, .mw-ui-background-icon-{name}",