Extension:AuthFlarum


MediaWiki extensions manual
OOjs UI icon advanced.svg
AuthFlarum
Release status: beta
Implementation access (invalid type), User identity
Description Allows to connect to MediaWiki from Flarum account.
Author(s) Guillaume Kulakowski (Llaumguitalk)
Latest version 0.9 (2021-05-31)
Compatibility policy invalid
MediaWiki 1.36+
PHP 7.3+
Composer llaumgui/mw-auth-flarum
License GNU General Public License 2.0 or later
Download
https://github.com/llaumgui/mw-auth-flarum/blob/main/README.md
AuthFlarum
$wgAuthFlarumUri $wgAuthFlarumAutoCreate $wgAuthFlarumAutoCreateMinPost
$wgGroupPermissions['*']['autocreateaccount'] = true;

Check usage and version matrix.

The AuthFlarum extension allows to connect to MediaWiki from an account based on the Flarum forum solution.

RequirementsEdit

  • MediaWiki 1.36+ (Need features added in 1.36).
  • Flarum 1.0.0.

InstallationEdit

  • Download and place the file(s) in a directory called AuthFlarum in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'AuthFlarum' );
    
  • Configure the Flarum URL setting up the following variables below this extension's call:
$wgAuthFlarumUri = "http://discuss.acme.ltd";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parametersEdit

$wgAuthFlarumUri
URI of your Flarum instance.
$wgAuthFlarumAutoCreate
Allows auto creation of MediaWiki account from Flarum? Becarrefull, also Need $wgGroupPermissions['*']['autocreateaccount'] = true;
$wgAuthFlarumAutoCreateMinPost
Need a minimum number of posts to allow auto creation of MediaWiki account.

User rightsEdit

Need $wgGroupPermissions['*']['autocreateaccount'] = true;