Extension:Poll
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. If you are interested in taking on the task of developing and maintaining this extension, you can request repository ownership. As a courtesy, you may want to contact the author. You should also remove this template and list yourself as maintaining the extension in the page's {{extension}} infobox. |
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 | release branches |
Database changes | Yes |
License | Creative Commons Attribution Share Alike 3.0 |
Download | |
Example | i18n.ro |
* <poll> |
|
|
|
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>
Notes[edit]
- 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]
- Download and place the file(s) in a directory called
Poll
in yourextensions/
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>
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.