Extension:Vote

From MediaWiki.org

Jump to: navigation, search

             

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Vote

Release status: stable

Implementation  Special page
Description Provides simple polling capabilities
Author(s)  Rob Church (RobchurchTalk)
Last Version  1.0 (16 April 2009)
MediaWiki  1.11+
License View license
Download Download snapshot

Subversion [Help]
Browse source code

check usage (experimental)

Vote is an extension that provides simple polling capabilities through a new special page, Special:Vote.

[edit] Installing

  1. Download the files from SVN
  2. Run vote.sql (for MySQL DBs) or vote.pg.sql (for PostgreSQL DBs) against your wiki's database
  3. Add
    require_once("$IP/extensions/Vote/Vote.php");
    into your wiki's LocalSettings.php
  4. Customize permissions in LocalSettings.php if you want to; by default bureaucrats have the 'voteadmin' user right so they can administer polls and registered users have 'vote' right, meaning that they can access Special:Vote and use it
  5. Installation can now be verified through your wiki's Special:Version.

[edit] Customization

You can edit MediaWiki:Vote-header to change the title of the poll and MediaWiki:Vote-choices to change the available options.