Extension:TwitterLogin/fr

Cette extension ajoute la possibilité de se connecter à MédiaWiki via le protocole OAuth de Twitter. Le code est dérivé de http://blogs.ecs.soton.ac.uk/webteam/2010/04/13/254/ fait pour Web8D 2010 et utilise aussi la librairie twitteroauth par Abrahams Williams.

Vous devez enregistrer une application avec Twitter pour pouvoir utiliser cette extension. Regardez la section Configuration pour plus de détails sur comment enregistrer une application Twitter.

Problèmes connus
This extension does not work with MediaWiki 1.19 and higher when you require your users to confirm their email addresses, since setting an email address now requires a password (which does not exist for users who authenticate through Twitter).

Dependencies
The twitteroauth library requires the php-curl module.

Configuration
In order to use this extension, you will need to register your MediaWiki installation as a Twitter app. You can do so here.

You will need to set a callback url in your app's settings. This will in most cases be https://wouwikidomain.tld/wiki/Special:TwitterLogin/callback.

When you have registered your application, you will get a consumer key and secret. Add these to your LocalSettings.php file, just below the line where you required the extension:

Release notes

 * 0.1 - Initial release.
 * 0.2 - Now uses MediaWiki's http class instead of curl directly.

Todo

 * Support tying Twitter screen-names to existing MediaWiki accounts.
 * Redirect first time users to their preferences screen to let them confirm their email address.
 * Add an option to be set in LocalSettings.php whether Twitter users should be automatically emailconfirmed or not.