I work on a MediaWiki AuthenticationProvider using Flarum as backend ! It's currently work in progress but I can already connect a user from Flarum to MediaWiki and auto create account from Flarum to MediaWiki.
Becareful, my work need the next MediaWiki guzzle client avalaible with MediaWiki 1.36 (the next release) and use the last AuthenticationProvider and not the old AuthPlugin system (like this extension).
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;
Example:
$wgAuthFlarumAutoCreate = true;
$wgAuthFlarumAutoCreateMinPost
Need a minimum number of posts to allow auto creation of MediaWiki account.
Example:
$wgAuthFlarumAutoCreateMinPost = 100;
Links