Extension:SecurePoll

The SecurePoll extension is a special page extension for elections, polls and surveys. It is used for Wikimedia Foundation Board elections and arbitration committee elections, and was used for the Wikimedia license transition vote among other things.

Installation
You will also need to assign the new " " user right to some user group. To assign this right to administrators, add the following to your  :

This allows all admins to create a poll, but it does not allow all admins to administer a particular poll (including editing a poll, viewing user data, etc.). Individual admins for a particular poll are defined when creating or editing a poll. Only members of the " " group may administer a poll. To create this group, add the following to your  :

Then assign a particular user to the   group via Special:UserRights. Note that election admins can see voter data, so only trusted users should be assigned to this group. If they are removed from the group, they will no longer be able to administer any elections.

Create a new poll
There are two ways to create a new poll: manually create an XML file and import it, or use the poll creation interface at Special:SecurePoll.

Manually
To create a poll manually, it is required to:


 * 1) write an XML file
 * 2) import it using the <tvar|1> </> command-line interface command

In the test folder you can find four example files:



To import a poll, run the following from the cli folder:

Via the web interface
A user with the  right can create a new poll via the link at the bottom of Special:SecurePoll.

To create a new poll, fill in the mandatory fields in the create form. Special care may be needed with the following fields:


 * When adding poll admins, only members of the  group are allowed.
 * To create an encrypted poll, select the radio for the encryption method. If you choose GnuPG, generate a (public) encryption key and a (private) decryption key. Enter the encryption key into the create form, and keep the private key safe somewhere offline (you will need it for tallying, once the election has finished). A detailed example can be found here.

Now visit <tvar|1>Special:SecurePoll</> and you will see your poll.