mediawiki/get-user-info 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mediawiki/get-user-info

最新稳定版本:0.1.0

Composer 安装命令:

composer require mediawiki/get-user-info

包简介

Print personal data from users

README 文档

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;

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2015-01-02