Jump to content

Extension:Poll

From mediawiki.org
MediaWiki extensions manual
Poll Extension
Release status: unmaintained
Implementation Tag , Special page
Description Allows anonymous polling
Author(s) Jan Luca, Sorin Sbarnea
Latest version 1.1.0 (2016-02-23)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki >= 1.35.3
Database changes Yes
License Creative Commons Attribution Share Alike 3.0
Download
Example i18n.ro
  • ‎<poll>
  • poll-admin
  • poll-create
  • poll-vote
  • poll-score
Quarterly downloads 2 (Ranked 138th)
Translate the Poll extension if it is available at translatewiki.net

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]
<poll>
Do you like this extension?
Yes
No
I don't know yet.
</poll>

Installation

[edit]
  • Download and move the extracted Poll folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Poll
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Poll' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Known limitations

[edit]
  • This extension does not support PostgreSQL!
  • This extension does not support database table prefixes, such as wiki_ etc.
  • Images must be placed into the folder /extensions/Poll/images/

See Also

[edit]