Extension:XenForoAuth/es
<translate> This extension is currently not actively maintained!</translate> <translate> Although it may still work, any bug reports or feature requests will more than likely be ignored.</translate> <translate> If you are interested in taking on the task of developing and maintaining this extension, [[<tvar name=request>Special:MyLanguage/Gerrit/Privilege policy#Requesting Gerrit privileges</tvar>|you can request repository ownership]].</translate> <translate> As a courtesy, you may want to contact the author.</translate> <translate> You should also remove this template and list yourself as maintaining the extension in the page's <tvar name=extension>{{Plantilla:Extensión }}</tvar> infobox.</translate> |
XenForoAuth Estado de lanzamiento: sin mantenimiento |
|
---|---|
Implementación | Identidad de usuario |
Descripción | Provides login with a XenForo account in a configurable XenForo forum. |
Autor(es) | Florian Schmidt (Florianschmidtwelzowtalk) |
MediaWiki | 1.27+ |
PHP | 5.5+ |
Cambios de la base de datos | Sí |
Licencia | MIT Licencia |
Descarga | |
Descargas trimestrales | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Wikis públicos que lo utilizan | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Traduce la extensión XenForoAuth si está disponible en translatewiki.net |
The XenForoAuth extension allows wiki users to login with an account of a XenForo based online-forum. The extension uses the XenForo bd Api plugin (which needs to be installed on the XenForo forum in order to work with this extension) to request basic profile information.
Requirements
To use this extension you need at least:
- MediaWiki 1.27+
- MySQL (no PostgreSQL or SQLite support for now!)
- PHP 5.5+
- An API client in the forum with which your users can authenticate
- Able to run
composer update
Instalación
- <translate> [[<tvar name=2>Special:ExtensionDistributor/XenForoAuth/es</tvar>|Download]] and move the extracted <tvar name=name>
XenForoAuth/es
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/XenForoAuth%2Fes - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'XenForoAuth/es' );
- <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
- Configure the required parameters
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
Configuración
The extension provides two configuration variables to set the Client ID and Client Secret (you get this pair in the API Client settings of the XenForo forum, remove "<" and ">"). You also need to configure the base url where the api can be reached.
$wgXenForoAuthClientSecret = '<your-client-secret>';
$wgXenForoAuthClientId = '<your-client-id>';
$wgXenForoAuthBaseUrl = 'https://example.com/api/';
Additional Configuration parameter
Configuration variable | Default value | Description |
---|---|---|
$wgXenForoAuthButtonIcon | 'images/xenForo_icon.png'
|
The icon, which will be added to the "Log in with XenForo" button. Normally you would set the path to the icon of the forum here. The value has to be surrounded with ' .
|
$wgXenForoAuthAutoCreate | false
|
Whether users from XenForo should be autocreated in this wiki. If you set this to true and a user logs in with XenForo and doesn't have a local connected account, it will be created automatically. If the username is already registered, the user will get an error message, that he couldn't be logged in.
|
Settings for the API Client
Please make sure, that you created an API Client in XenForo.
Please also set your full URL to Special:UserLogin
into the Redirect Uri input field (e.g. https://www.example.com/wiki/Special:UserLogin
).
Please also add your domain to the White-listed Domains input field (e.g. *.example.com
).
- Pages with script errors
- Pages with broken file links
- Unmaintained extensions/es
- User identity extensions/es
- Extensions with manual MediaWiki version
- MIT licensed extensions/es
- Extensions in Wikimedia version control/es
- AuthChangeFormFields extensions/es
- LoadExtensionSchemaUpdates extensions/es
- All extensions/es
- Extensions not in ExtensionJson