Extension:PollNY

The PollNY extension defines a new namespace for polls (NS_POLL, the namespace number is 300 by default) and 6 new special pages for poll creation/administration.

Polls can be embedded on normal wiki pages with the  tag.

Syntax is:.

Special:AdminPoll can be used by users with 'polladmin' rights to view all polls and administer them, Special:CreatePoll is used to create new polls, Special:RandomPoll takes you to a randomly chosen poll, Special:UpdatePoll is like action=edit for polls and Special:ViewPoll can be used by all users to view available polls.

These new special pages (with the exception of Special:UpdatePoll) will show up on <tvar|2>Special:SpecialPages</> in the "Polls" section.

Dependencies



 * New database tables: poll_choice, poll_question and poll_user_vote

User rights
This extension adds one new user right, <tvar|1> </>, which allows accessing <tvar|2>Special:AdminPoll</> to administer polls created through <tvar|3>Special:CreatePoll</>.

By default sysops have this user right.

User points

 * &mdash; set this to something to give out points for answering existing polls.

Parameters

 * &mdash; whether to display comments on poll pages or not. Defaults to <tvar|1> </>.  Requires <tvar|1></> extension.
 * &mdash; for example <tvar|1> </> if you want to require users to have at least 5 edits before they can create new polls. Defaults to an empty array (no restrictions).