Extension:VoteNY

The VoteNY a.k.a Vote extension adds the  parser hook tag to allow voting on articles where the tag is present.

The magic word can be used to display the number of votes in the database; this number is cached (in memcached) for 24 hours, so it's not totally up-to-date.

The special page Special:TopRatings displays the highest rated pages on the wiki. It supports filtering by category and namespace and its output can be embedded on wiki pages, so will show 10 ratings where the pages are in the "Adventure Games" category and the pages are in the main (0) namespace.

Parameters

 * &mdash; path to the extension's files. Defaults to.

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

Dependencies

 * New database table,

Usage
outputs a green square voting box

outputs five voting stars.

Magic words

 * : Returns the entire number of votes on the wiki.
 * : Returns the number of votes on the current page.
 * : Returns the number of votes on the given page.

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