Extension:SendToIdentica

What can this extension do?
This extension lets users push updates to their Identi.ca accounts (easily configurable for Twitter instead) whenever they make an edit or create a new page on the wiki. The messages are customizable and urls are automatically shortened through tr.im.

Users input their Identica username and password in the "Misc" section of "My preferences", and choose whether to dent about new articles they start and/or edits they make.


 * Note: The tr.im API has sharp limits on the number of times it can be called per day, so active wikis should use a different url shortening service.

Usage
In the "Misc" tab of "My preferences", a user may input the username and password of their Identi.ca account and choose whether to send updates about new articles and/or edits to existing articles. Updates will then be pushed to Identi.ca whenever that user starts an article or makes an edit.

Download instructions
Please cut and paste the code found below and place it in  and , respectively. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

SendToIdentica uses the GetPreferences hook and so requires MediaWiki 1.16 or later.