llaumgui/mw-auth-flarum

Allow to connect on MediaWiki from Flarum account.


Keywords
extension, wiki, mediawiki, flarum
License
GPL-2.0-or-later

Documentation

AuthFlarum

Author Build Status MediaWiki Version Latest Version

Software License

Allows to connect to MediaWiki from an a ccount based on the Flarum forum solution.

Installation

  1. Put code in extensions/AuthFlarum.
  2. 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;