Extension:PollNY/pl

Category:GPL licensed extensions/pl
Podręcznik rozszerzeń MediaWiki
PollNY
Status wydania: stabilneCategory:Stable extensions/pl
Realizacja Strona specjalna Category:Special page extensions/pl
Opis Advanced polling system that uses special pages and allows embedding polls to wiki pages
Autor(zy) Aaron Wright, David Pean, Jack Phoenix
Ostatnia wersja 3.8.0
MediaWiki 1.43+Category:Extensions with manual MediaWiki version/pl
Zmiany w bazie danych Tak
Licencja Licencja GNU General Public License 2.0 lub nowsza
Pobieranie Category:Extensions in Wikimedia version control/pl
  • $wgCreatePollThresholds
  • $wgPollDisplay
  • pollny-vote
  • polladmin
Przetłumacz rozszerzenie PollNY jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd
Category:All extensions/pl

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.


Zależności

  • New database tables: poll_choice, poll_question and poll_user_vote

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie PollNY w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PollNY
    
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'PollNY' );
    
  • Uruchom skrypt aktualizujący, który automatycznie stworzy potrzebne tabele dla tego rozszerzenia.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

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.

Parametry

  • $wgPollDisplay['comments'] whether to display comments on poll pages or not. Defaults to false. 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).
Category:Social tools/pl Category:Poll extensions/pl
Category:APIGetAllowedParams extensions/pl Category:All extensions/pl Category:ApiCheckCanExecute extensions/pl Category:ArticleDelete extensions/pl Category:ArticleFromTitle extensions/pl Category:Extensions in Wikimedia version control/pl Category:Extensions included in Miraheze/pl Category:Extensions included in MyWikis/pl Category:Extensions included in WikiForge/pl Category:Extensions with manual MediaWiki version/pl Category:GPL licensed extensions/pl Category:LoadExtensionSchemaUpdates extensions/pl Category:PageMoveComplete extensions/pl Category:ParserFirstCallInit extensions/pl Category:ParserLimitReportPrepare extensions/pl Category:Poll extensions/pl Category:Social tools/pl Category:Special page extensions/pl Category:Stable extensions/pl