Extension:AJAXPoll

AJAX Poll extension allows AJAX-based polls with &lt;poll&gt; tag.

See ShoutWiki's help page on polls for more info.

Installation

 * 1) Download the files from SVN (or via ExtensionDistributor) and place them in $IP/extensions/AJAXPoll/
 * 2) Apply poll.sql against your database. From the command line run
 * 3) Add to your wiki's LocalSettings.php
 * 4) Installation can be verified through your wiki's Special:Version.

Usage
Do you like this poll ? Yes, it is awesome. Yes. No, I do not like polls.

If the first line after &lt;poll&gt; is "STATS", then some statistics about the wiki and its polls will be displayed. These statistics are not localizable and this whole feature will probably be removed (or at least refactored, but probably removed) in the future.

To-do list

 * 1) Move all global-scope functions from AJAXPoll.php into a new class
 * 2) database updater (change usernames with "'"; change database column poll_answer from int(3) to int(10) or so; change table names to have prefix ajaxpoll_ )
 * 3) Get rid of inline JS
 * 4) a new permission / user rights group for a new Special page for Poll maintenance (list, stop, delete polls)
 * 5) ResourceLoader support