Polls on the wiki are created using the AJAXPoll extension which interprets the
<poll> tag. Polls are generally featured on the main page and should be created using the template. Poles for other pages, or your user pages can be created using the template.
<poll> Question Choice 1 Choice 2 Choice 3 Choice 4 </poll>
<poll> Do you like this poll ? Yes, it is awesome. Yes. No, I do not like polls. I have no idea, what this means. </poll>
You are not entitled to view the results of this poll before you have voted.
If you want this, you can allow or deny the result-viewing before voting per-poll by adding the show-results-before-voting parameter in the opening tag:
<poll show-results-before-voting> <poll show-results-before-voting=1> <poll show-results-before-voting=0>
If the first line after
<poll> is "STATS", then some statistics about the wiki and its polls will be displayed:
There are 274 polls and 29535 votes given by 26039 different people.
The last vote has been given 01 hour ago.
During the last 48 hours, 63 votes have been given.
See also[edit source]
- Extension:AJAXPoll The extensions page on mediawiki.