Jump to content

Extension:SpecialVote: Difference between revisions

From mediawiki.org
Content deleted Content added
m This extension appears to be in SVN, not Git.
Line 13: Line 13:
|mediawiki = 1.11+
|mediawiki = 1.11+
|license = [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Vote/LICENCE?view=markup View license]
|license = [http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Vote/LICENCE?view=markup View license]
|download = {{WikimediaDownload}}
|download = {{WikimediaDownload}}
|readme =
|readme =
|changelog =
|changelog =

Revision as of 23:03, 13 August 2012

MediaWiki extensions manual
Vote
Release status: stable
Implementation Special page
Description Provides simple polling capabilities
Author(s) Rob Church (Robchurchtalk)
Latest version 1.0 (16 April 2009)
MediaWiki 1.11+
License View license
Download Template:WikimediaDownload/svn
vote
voteadmin
Translate the SpecialVote extension if it is available at translatewiki.net

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

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.

Customization

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