Skip to content

Latest commit

 

History

History
76 lines (55 loc) · 2.97 KB

README.md

File metadata and controls

76 lines (55 loc) · 2.97 KB

AuthFlarum

Software License Build Status MediaWiki Version Latest Version

Quality Gate Status Maintainability Rating Reliability Rating Security Rating

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;