Extension:SendToTwitter

What can this extension do?
This extension posts a tweet to twitter of any url that is updated in your wiki. The messages are customizable and urls are automatically shortened through TinyUrl.

Website examples
WikiCity Twitter Account: WikiCity

Note: This website uses a more advanced version of this extension due to specific content.

Wetland Research

Twitter Account: Wetland Research

Download instructions
Please cut and paste the code found below and place it in. 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: Modify the username/password in the extension file to match your twitter account.

Troubleshooting
I had some issues with the URL not being correct when being sent to Twitter, I believe because I am using a stock Mediawiki install, and not using the Mediawiki URL rewrite option. to and it is now working again.