Extension:BoardVote

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
BoardVote

Release status: stable

Implementation Special page
Description Enables secure voting
Author(s) Tim Starling, Kwan Ting Chan and others
License No license specified
Download SVN
Parameters

$wgBoardVoteDB
$wgBoardCandidates
$wgGPGCommand
$wgGPGRecipient
$wgGPGHomedir
$wgGPGPubKey
$wgBoardVoteEditCount
$wgBoardVoteRecentEditCount
$wgBoardVoteCountDate
$wgBoardVoteRecentFirstCountDate
$wgBoardVoteRecentCountDate
$wgBoardVoteStartDate
$wgBoardVoteEndDate
$wgBoardVoteDBServer

Added rights

boardvote

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

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
Language: English  • 日本語
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox