$wgGrantPermissions['createaccount']['createaccount'] = true;
+$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
+
/**
* @var Array Map of grants to their UI grouping
* @since 1.27
'createaccount' => 'administration',
'highvolume' => 'high-volume',
+
+ 'privateinfo' => 'private-information',
];
/**
"grant-group-high-volume": "Perform high volume activity",
"grant-group-customization": "Customization and preferences",
"grant-group-administration": "Perform administrative actions",
+ "grant-group-private-information": "Access private data about you",
"grant-group-other": "Miscellaneous activity",
"grant-blockusers": "Block and unblock users",
"grant-createaccount": "Create accounts",
"grant-highvolume": "High-volume editing",
"grant-oversight": "Hide users and suppress revisions",
"grant-patrol": "Patrol changes to pages",
+ "grant-privateinfo": "Access private information",
"grant-protect": "Protect and unprotect pages",
"grant-rollback": "Rollback changes to pages",
"grant-sendemail": "Send email to other users",
"right-applychangetags": "{{doc-right|applychangetags}}",
"right-changetags": "{{doc-right|changetags}}",
"right-deletechangetags": "{{doc-right|deletechangetags}}",
- "grant-generic": "Used if the grant name is not defined. Parameters:\n* $1 - grant name\n\nDefined grants (grant name refers: blockusers, createeditmovepage, ...):\n* {{msg-mw|grant-checkuser}}\n* {{msg-mw|grant-blockusers}}\n* {{msg-mw|grant-createaccount}}\n* {{msg-mw|grant-createeditmovepage}}\n* {{msg-mw|grant-delete}}\n* {{msg-mw|grant-editinterface}}\n* {{msg-mw|grant-editmycssjs}}\n* {{msg-mw|grant-editmyoptions}}\n* {{msg-mw|grant-editmywatchlist}}\n* {{msg-mw|grant-editpage}}\n* {{msg-mw|grant-editprotected}}\n* {{msg-mw|grant-highvolume}}\n* {{msg-mw|grant-oversight}}\n* {{msg-mw|grant-patrol}}\n* {{msg-mw|grant-protect}}\n* {{msg-mw|grant-rollback}}\n* {{msg-mw|grant-sendemail}}\n* {{msg-mw|grant-uploadeditmovefile}}\n* {{msg-mw|grant-uploadfile}}\n* {{msg-mw|grant-basic}}\n* {{msg-mw|grant-viewdeleted}}\n* {{msg-mw|grant-viewmywatchlist}}",
+ "grant-generic": "Used if the grant name is not defined. Parameters:\n* $1 - grant name\n\nDefined grants (grant name refers: blockusers, createeditmovepage, ...):\n* {{msg-mw|grant-checkuser}}\n* {{msg-mw|grant-blockusers}}\n* {{msg-mw|grant-createaccount}}\n* {{msg-mw|grant-createeditmovepage}}\n* {{msg-mw|grant-delete}}\n* {{msg-mw|grant-editinterface}}\n* {{msg-mw|grant-editmycssjs}}\n* {{msg-mw|grant-editmyoptions}}\n* {{msg-mw|grant-editmywatchlist}}\n* {{msg-mw|grant-editpage}}\n* {{msg-mw|grant-editprotected}}\n* {{msg-mw|grant-highvolume}}\n* {{msg-mw|grant-oversight}}\n* {{msg-mw|grant-patrol}}\n* {{msg-mw|grant-privateinfo}}\n* {{msg-mw|grant-protect}}\n* {{msg-mw|grant-rollback}}\n* {{msg-mw|grant-sendemail}}\n* {{msg-mw|grant-uploadeditmovefile}}\n* {{msg-mw|grant-uploadfile}}\n* {{msg-mw|grant-basic}}\n* {{msg-mw|grant-viewdeleted}}\n* {{msg-mw|grant-viewmywatchlist}}",
"grant-group-page-interaction": "{{Related|grant-group}}",
"grant-group-file-interaction": "{{Related|grant-group}}",
"grant-group-watchlist-interaction": "{{Related|grant-group}}",
"grant-group-high-volume": "{{Related|Grant-group}}",
"grant-group-customization": "{{Related|Grant-group}}",
"grant-group-administration": "{{Related|Grant-group}}",
+ "grant-group-private-information": "{{Related|Grant-group}}",
"grant-group-other": "{{Related|Grant-group}}",
"grant-blockusers": "Name for grant \"blockusers\".\n{{Related|Grant}}",
"grant-createaccount": "Name for grant \"createaccount\".\n{{Related|grant}}",
"grant-editprotected": "Name for grant \"editprotected\".\n{{Related|grant}}",
"grant-highvolume": "Name for grant \"highvolume\".\n{{Related|grant}}",
"grant-oversight": "Name for grant \"oversight\".\n{{Related|grant}}",
+ "grant-privateinfo": "Name for grant \"privateinfo\".\n{{Related|grant}}",
"grant-patrol": "Name for grant \"patrol\".\n{{Related|grant}}",
"grant-protect": "Name for grant \"protect\".\n{{Related|grant}}",
"grant-rollback": "Name for grant \"rollback\".\n{{Related|grant}}",