Extension:BoardVote
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Enables secure voting | ||
| Author(s) | Tim Starling, Kwan Ting Chan and others | ||
| License | No license specified | ||
| Download | Download snapshot |
||
|
|||
|
|||
|
check usage (experimental) |
|||
BoardVote is an extension for MediaWiki that enables secure voting. Currently the extension is very Wikimedia-specific, but can be hacked for your needs.
Contents |
[edit] Parameters
- $wgBoardVoteDB — name of the database which holds the BoardVote tables. Defaults to "boardvote".
- $wgBoardCandidates — 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 — defaults to "gpg".
- $wgGPGRecipient — defaults to "boardvote".
- $wgGPGHomedir — defaults to false.
- $wgGPGPubKey — path to the public GPG key file. Defaults to "C:\\Program Files\\GNU\\GnuPG\\pub.txt".
- $wgBoardVoteEditCount — number of edits a user must have before allowed to vote. Defaults to 600.
- $wgBoardVoteRecentEditCount — defaults to 50.
- $wgBoardVoteCountDate — current default is 20080301000000.
- $wgBoardVoteRecentFirstCountDate — current default is 20080101000000.
- $wgBoardVoteRecentCountDate — current default is 20080529000000.
- $wgBoardVoteStartDate — timestamp of the starting date of the vote(?). Current default is 20080601000000.
- $wgBoardVoteEndDate — current default is 20080622000000.
- $wgBoardVoteDBServer — defaults to $wgDBserver.
[edit] Permissions
This extension adds one new permission, boardvote, and creates a user group with the same name. Users who have the boardvote permission can administer the elections and are able to strike out invalid (i.e. sockpuppet) votes.
[edit] Internationalization
The messages need to be localised at translatewiki.net. Please help.
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.
[edit] See also
- Vote — a different voting extension that is less Wikimedia-specific and probably more suited for your needs
This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.