llaumgui / mw-auth-flarum
Allow to connect on MediaWiki from Flarum account.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 0
Open Issues: 3
Type:mediawiki-extension
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-30 04:45:08 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;