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

1.0.0 2023-04-22 13:44 UTC

This package is auto-updated.

Last update: 2024-11-30 05:00:55 UTC


README

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