AuthFlarum
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;