mediawiki / get-user-info
Print personal data from users
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:mediawiki-extension
Requires
- php: >=5.3.0
- composer/installers: 1.*,>=1.0.1
This package is auto-updated.
Last update: 2024-12-15 02:40:10 UTC
README
Extension for providing user information.
This extension is potentially privacy risky, so great care should be taken to configure it.
Usage
- {{#getuserinfo:email|UserName}}
- {{#getuserinfo:realname|UserName}}
- {{#getuserinfo:groups|UserName}}
Configuration settings
Groups that can see the outcome
- $GLOBALS['wgGUAllowedGroups']['email'] = array('sysop');
- $GLOBALS['wgGUAllowedGroups']['realname'] = array('sysop');
- $GLOBALS['wgGUAllowedGroups']['groups'] = array('sysop');
Namespaces that can render the outcome regardless of the user group
- $GLOBALS['wgGUWhiteListNS']['email'] = array();
- $GLOBALS['wgGUWhiteListNS']['realname'] = array();
- $GLOBALS['wgGUWhiteListNS']['groups'] = array();
Additional pages than can render the outcome regardless of the namespace or user group
- $GLOBALS['wgGUWhiteListPages']['email'] = array();
- $GLOBALS['wgGUWhiteListPages']['realname'] = array();
- $GLOBALS['wgGUWhiteListPages']['groups'] = array();
Whether only the same user can see their data
- $GLOBALS['wgGUOnlyActualUser'] = false;
Whether data can only be seen in the same user page
- $GLOBALS['wgGUOnlyUserPage'] = false;