Extension:VoteNY/da

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

Configuration
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. To allow anonymous users to vote, add the following to your LocalSettings.php:

Tags
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.

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

Special page
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.