Extension:TwitterLogin

Description
This extension adds Twitter OAuth sign up capabilities to Mediawiki. The code is derived from Challis' implementation done for Web8D 2010 and also uses the twitteroauth library by Abraham Williams.

You need to register an application with Twitter in order to be able to use this extension. See the Configuration section for more details on how to register a Twitter app.

Download
You can download the most current version of the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TwitterLogin/. From a command line, you can use the following:

svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/TwitterLogin/

Installation
Place the TwitterLogin directory within the main MediaWiki 'extensions' directory. Then, in the file LocalSettings.php in the main MediaWiki directory, add the following line:

This extension requires an additional table in your mediawiki database. To install it, use mediawiki's update.php script:

/w$ php maintenance/update.php

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.

Todo

 * Support tying Twitter screen-names to existing mediawiki accounts.