A user will have one or more of these rights granted by being a member of a group. For more detail, see the MediaWiki Manual entry for $wgGroupPermissions. A user may be automatically promoted to a group using the $wgAutopromote mechanism. At the time of writing the ipinfo, ipinfo-view-basic, and ipinfo-view-full rights are defined. We first need to define a group that grants the ipinfo and ipinfo-view-basic rights – the basic rights – to that group.
- Create a group that grants the ipinfo and ipinfo-view-basic rights
- This group can be defined in extension.json. See https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Extension.json/Schema#GroupPermissions for more detail
- The above also links to the MediaWiki Manual entry for $wgGroupPermissions