llaumgui/mw-auth-flarum
Composer 安装命令:
composer require llaumgui/mw-auth-flarum
包简介
Allow to connect on MediaWiki from Flarum account.
README 文档
README
Allows to connect to MediaWiki from an a ccount based on the Flarum forum solution.
Installation
- Put code in extensions/AuthFlarum.
- Enable extension :
wfLoadExtension( 'AuthFlarum' );
Configuration
$wgAuthFlarumUri
URI of your Flarum instance.
Example:
$wgAuthFlarumUri = 'http://localhost';
$wgAuthFlarumAutoCreate
Allow auto creation of MediaWiki account from Flarum ? Becarrefull, also Need
$wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = false;
Example:
$wgAuthFlarumAutoCreate = true;
$wgAuthFlarumAutoCreateMinPost
Need a minimum number of posts to allow auto creation of MediaWiki account.
Example:
$wgAuthFlarumAutoCreateMinPost = 100;
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-05-31