Extension:PollNY/de-formal
PollNY Release status: stable |
|
---|---|
Implementation | Special page |
Description | Advanced polling system that uses special pages and allows embedding polls to wiki pages |
Author(s) | Aaron Wright, David Pean, Jack Phoenix |
Latest version | 3.7.0 |
MediaWiki | 1.39+ |
Database changes | Yes |
License | GNU General Public License 2.0 or later |
Download | |
|
|
|
|
Quarterly downloads | 8 (Ranked 130th) |
Translate the PollNY extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The PollNY extension defines a new namespace for polls (NS_POLL, the namespace number is 300 by default) and 6 new special pages for poll creation/administration.
Polls can be embedded on normal wiki pages with the <pollembed>
tag.
Syntax is:
<pollembed title="Name of the poll" />
Special:AdminPoll can be used by users with 'polladmin' rights to view all polls and administer them, Special:CreatePoll is used to create new polls, Special:RandomPoll takes you to a randomly chosen poll, Special:UpdatePoll is like action=edit for polls and Special:ViewPoll can be used by all users to view available polls.
These new special pages (except for Special:UpdatePoll) will show up on Special:SpecialPages in the "Polls" section.
See Help:Extension:PollNY for more information on how to use this extension.
Dependencies
- New database tables: poll_choice, poll_question and poll_user_vote
Installation
- Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens
PollNY
im Ordnerextensions/
ablegen.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PollNY - Folgenden Code am Ende Ihrer LocalSettings.php -Datei hinzufügen:
wfLoadExtension( 'PollNY' );
- Führen Sie das Aktualisierungsskript aus, welches automatisch die notwendigen Datenbanktabellen erstellt, die diese Erweiterung braucht.
- Done – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
User rights
This extension adds one new user right, polladmin
, which allows accessing Special:AdminPoll to administer polls created through Special:CreatePoll.
By default sysops have this user right.
User points
$wgUserStatsPointValues['poll_vote']
— set this to something to give out points for answering existing polls.
Parameters
$wgPollDisplay['comments']
— whether to display comments on poll pages or not. Defaults tofalse
. Requires Comments extension.$wgCreatePollThresholds
— for example'edits' => 5
if you want to require users to have at least 5 edits before they can create new polls. Defaults to an empty array (no restrictions).
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/de-formal
- Special page extensions/de-formal
- GPL licensed extensions/de-formal
- Extensions in Wikimedia version control/de-formal
- APIGetAllowedParams extensions/de-formal
- ArticleDelete extensions/de-formal
- ArticleFromTitle extensions/de-formal
- LoadExtensionSchemaUpdates extensions/de-formal
- PageMoveComplete extensions/de-formal
- ParserFirstCallInit extensions/de-formal
- All extensions/de-formal
- Extensions included in Miraheze/de-formal
- Extensions included in MyWikis/de-formal
- Extensions included in WikiForge/de-formal
- Social tools/de-formal
- Poll extensions/de-formal