Extension:VoteNY

Vote a.k.a VoteNY extension adds the &lt;vote&gt; parser hook tag to allow voting on articles where the tag is present.

Parameters

 * $wgVoteDirectory &mdash; path to the extension's files. Defaults to $IP/extensions/VoteNY.

Installation

 * 1) Dump the files into $IP/extensions/VoteNY
 * 2) Create the required database table Vote (by re-running the MediaWiki updater script, update.php)
 * 3) Add require_once("$IP/extensions/VoteNY/Vote.php"); into the wiki's LocalSettings.php
 * 4) Installation can now be verified through the wiki's Special:Version

User rights
This extension adds one new user right, vote, which is required in order to vote. By default, anonymous users do not have this right and thus cannot vote but registered users can.

Dependencies

 * New database table, Vote

Usage
&lt;vote /&gt;</tt> outputs a green square voting box, &lt;vote type=1 /&gt;</tt> outputs five voting stars.

To-do list

 * If user doesn't have 'vote' right or the DB is locked the extension should say that, not just fail silently or require the user to log in

Version history

 * 2.0 &mdash; less external dependencies, RSS & Publish stuff removed
 * 1.0 &mdash; initial cleaned-up version of extensions/wikia/Vote/ by Jack Phoenix