Extension:BoardVote

BoardVote is an extension for MediaWiki that enables secure voting. Currently the extension is very Wikimedia-specific, but can be hacked for your needs.

Parameters

 * $wgBoardVoteDB &mdash; name of the database which holds the BoardVote tables. Defaults to "boardvote".
 * $wgBoardCandidates &mdash; an array or board candidate names. For example, $wgBoardCandidates = array( "John Doe", "Jane Doe", "Joe Bloggs", "John Smith", "A. N. Other" );. Defaults to an empty array.
 * $wgGPGCommand &mdash; defaults to "gpg".
 * $wgGPGRecipient &mdash; defaults to "boardvote".
 * $wgGPGHomedir &mdash; defaults to false.
 * $wgGPGPubKey &mdash; path to the public GPG key file. Defaults to "C:\\Program Files\\GNU\\GnuPG\\pub.txt".
 * $wgBoardVoteEditCount</tt> &mdash; number of edits a user must have before allowed to vote. Defaults to 600.
 * $wgBoardVoteRecentEditCount</tt> &mdash; defaults to 50.
 * $wgBoardVoteCountDate</tt> &mdash; current default is 20080301000000</tt>.
 * $wgBoardVoteRecentFirstCountDate</tt> &mdash; current default is 20080101000000</tt>.
 * $wgBoardVoteRecentCountDate</tt> &mdash; current default is 20080529000000</tt>.
 * $wgBoardVoteStartDate</tt> &mdash; timestamp of the starting date of the vote(?). Current default is 20080601000000</tt>.
 * $wgBoardVoteEndDate</tt> &mdash; current default is 20080622000000</tt>.
 * $wgBoardVoteDBServer</tt> &mdash; defaults to $wgDBserver</tt>.

Permissions
This extension adds one new permission, boardvote</tt>, and creates a user group with the same name. Users who have the boardvote</tt> permission can administer the elections and are able to strike out invalid (i.e. sockpuppet) votes.

Internationalization
If you want to use BoardVote extension for your wiki, you'll need to change "Wikimedia" to your organization's name in the system messages.