Extension:WikiTweet

Please give me your feedback

What can this extension do?
This extension is able to include a twitter-like feed into MediaWiki which is based on the registered users.

Features

 * v0.5.0 (5 5 2011)
 * Enhance security features (SQL injection and AJAX execution)
 * Simplify configuration file


 * v0.4.0
 * Add an anonymous mode
 * Add a key to configure if you allow the "not connected" tweets or not.
 * If you click on a room link, you can see the tweet from this room.
 * tagging feature (see below)


 * v0.3.2
 * interpretation of "www" links (without http)
 * creation of a "medium" size option
 * auto refresh every 5 seconds
 * send a mail when a user is subscribed to a room or a user.


 * v0.3.0
 * Add an "Tweet and email" button when the status contain "@someone", to send him an email with the content of the tweet
 * Mails sent by "Tweet and email" button are sent from wikiuser email if filled, else by "someone@somewhere.com" (customizable in updatetweet.php)
 * Possibility to send "private" tweets (a "private" button appears when you tape a "@" character)
 * Possibility to allow a list of users to write tweets instead of an "informer" user (a "via Informer" button appears for these users - you have to create this user before if you want to link the tweets with a real profile, but it is optional)
 * only one file where configure everything
 * Add an "administrator" role who can delete every tweets (from any user). More than one user can be administrators)
 * Possibility to delete the private tweets
 * Add a "answer to" option.


 * v0.2.0
 * Rooms management : each tweet is marked by the room where it is posted
 * Subscriptions to (subscribe/unsubscribe in ajax techno) :
 * a room : see the tweets related to the followed room in any other room
 * a user : see the tweets related to the user followed in any room
 * Possibility to delete a tweet


 * v0.1.0
 * Auto refresh (ajax)
 * tweet without reload the page (ajax)
 * Each user is able to tweet when connected
 * If you are not connected, you can view everything but not write a tweet
 * Avatar auto management (replacing by a default one if not defined for the user)

tagging feature:
the users could add one or more tags in their tweets just in adding "#" before the words they want to tagg. For example below, the "User2" wrote a tweet with two tags : "tag" and "tagging":



If you click on the #tag link, you should have only the tweets with this word (tagged or not), in any rooms:



You can see that the first tweet is a tweet from room "test" (and posted with an anonymous account - first feature)..

"Update and email" :

 * Without "@" character:




 * With "@" character, you are able to send an alert by mail ! :-)



note
only for 0.2.3 beta version add the following line in LocalSettings.php above  :

If you want the "informer" and "private" possibility, I recommend you to download the next 0.2.4 which is a debug of the 0.2.3.

Download instructions
Download a snapshot on http://www.mediawiki.org/wiki/Special:ExtensionDistributor/WikiTweet

Currently available on 1.16.x and trunk (under dev).

and unarchive it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

It will create a  directory.

Installation
To install this extension, first of all, install the ParserFunctions extension. Then, add the following to LocalSettings.php:

Creation of WikiTweet DB tables
replace the "mw_" by your tables prefix in this script and execute it:

Configuration
Open  and customize it :

tag insertion syntax


or



Where options can be :


 * : three modes (size="small", size="medium" and size="normal" - default)
 * : indicates the number of tweets displayed (eg. )
 * : indicates the name of the room feed (defined by this.. You dont have to register a room somewhere, default="main")

Example


Tweets syntax

 * "@" before any user name (link created to the user page - customize it !)
 * ">" before any wiki link
 * "#" before any word you want to tag

Avatar

 * upload your profile avatar in importing a username.png (or .jpg) file into the Wiki.

Screenshots