VoteNY Example

From WikiTeq Demonstration Wiki

Example

The extension VoteNY allows users to insert a simple voting tool onto their wiki.


4.50
(2 votes)


2

2 5

Usage

Tags

‎<vote /> outputs a green square voting box.

<vote type=1 /> outputs five voting stars.

Magic words

  • {{NUMBEROFVOTES}}: Returns the entire number of votes on the wiki.
  • {{NUMBEROFVOTESPAGE}}: Returns the number of votes on the current page.
  • {{NUMBEROFVOTESPAGE:<page>}}: Returns the number of votes on the given page.

The magic word {{NUMBEROFVOTES}} 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.

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 {{Special:TopRatings/Extension Showcase Pages/0/10}} will show 10 ratings where the pages are in the "Extension Showcase Pages" category and the pages are in the main (0) namespace.