From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
Poll Extension

Release status: stable

Implementation Tag, Special page
Description Allows anonymous polling
Author(s) Jan Luca, Sorin Sbarnea
Latest version 1.1 (2012-08-20)
MediaWiki 1.11+
Database changes Yes
License CC BY-SA 3.0
Example i18n.ro
* <poll>
Added rights
  • poll-admin
  • poll-create
  • poll-vote
  • poll-score
Hooks used

Translate the Poll extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

The Poll extension allows anonymous polling. It will provide the number of votes for each answer in same window. Voting results can be seen before voting.

Usage[edit | edit source]

Do you like this extension?
I don't know yet.

Notes[edit | edit source]

  • This extension will not work with PostgreSQL!!
  • This extension does not allow database table prefixes: such as wiki_ etc.
  • Images must be placed into the folder .../extensions/Poll/images/
  • Update.php must be ran after installation, else you will get a database error.

Installation[edit | edit source]

  • Download and place the file(s) in a directory called Poll in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/Poll/Poll.php";
  • Execute the file Poll.sql in order to create required tables (sorry no auto-install, feel free to add it yourself)
PATH_TO_MYSQL/mysql -h <host> -u <username> -D <database name> -p < <path to Poll.sql file>
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See Also[edit | edit source]