Extension:Poll

From Linux Web Expert

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.29.0
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 Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

<poll>
Do you like this extension?
Yes
No
I don't know yet.
</poll>

Installation

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/Poll</tvar>|Download]] and move the extracted <tvar name=name>Poll</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Poll
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'Poll' );
    
  • <translate> Run the [[<tvar name=update>Special:MyLanguage/Manual:Update.php</tvar>|update script]] which will automatically create the necessary database tables that this extension needs.</translate>
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

Known limitations

  • 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