Extension:AuthFlarum
![]() Release status: stableCategory:Stable extensions |
|
---|---|
Implementation | User identityCategory:User identity extensions, HookCategory:Hook extensions |
Description | Allows to connect to MediaWiki from Flarum account. |
Author(s) | Guillaume Kulakowski (Llaumguitalk) |
Latest version | 1.0.0 (2023-04-22) |
Compatibility policy | Main branch maintains backward compatibility.Category:Extensions with master compatibility policy |
MediaWiki | 1.36+Category:Extensions with manual MediaWiki version |
PHP | 8.0+ |
Composer | llaumgui/mw-auth-flarumCategory:Extensions supporting Composer |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: https://github.com/llaumgui/mw-auth-flarum/blob/main/README.md |
AuthFlarum |
|
$wgAuthFlarumUri $wgAuthFlarumAutoCreate $wgAuthFlarumAutoCreateMinPost |
|
$wgGroupPermissions['*']['autocreateaccount'] = true;
Category:Extensions which add rights |
|
The AuthFlarum extension allows to connect to MediaWiki from an account based on the Flarum forum solution.
Requirements
- MediaWiki 1.36+ (Need features added in 1.36).
- Flarum 1.0.0.
Installation
- Download and place the file(s) in a directory called
AuthFlarum
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
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 parameters
- $wgAuthFlarumUri
- URI of your Flarum instance.
- $wgAuthFlarumAutoCreate
- Allows auto creation of MediaWiki account from Flarum? Becarrefull, also need:
$wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = false;
- $wgAuthFlarumAutoCreateMinPost
- Need a minimum number of posts to allow auto creation of MediaWiki account.
User rights
Need:
$wgGroupPermissions['*']['autocreateaccount'] = true; $wgGroupPermissions['*']['createaccount'] = false; $wgGroupPermissions['sysop']['createaccount'] = false;
Category:All extensions
Category:AuthChangeFormFields extensions
Category:Extensions in GitHub version control
Category:Extensions supporting Composer
Category:Extensions which add rights
Category:Extensions with manual MediaWiki version
Category:Extensions with master compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:GetPreferences extensions
Category:Hook extensions
Category:SpecialPage initList extensions
Category:Stable extensions
Category:User identity extensions