llaumgui / mw-auth-flarum
Allow to connect on MediaWiki from Flarum account.
Package info
github.com/llaumgui/mw-auth-flarum
Type:mediawiki-extension
pkg:composer/llaumgui/mw-auth-flarum
1.0.0
2023-04-22 13:44 UTC
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-06 04:33:09 UTC
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;