Erweiterung:RandomGameUnit

From mediawiki.org
This page is a translated version of the page Extension:RandomGameUnit and the translation is 31% complete.
MediaWiki-Erweiterungen
RandomGameUnit
Freigabestatus: stabil
Einbindung Parser-Erweiterung
Beschreibung Displays a randomly chosen picture game, poll or a quiz
Autor(en) Aaron Wright, David Pean, Jack Phoenix
Letzte Version 2.7 (2020-05-24)
MediaWiki 1.39+
Lizenz GNU General Public License 2.0 oder später
Herunterladen
  • $wgRandomGameDisplay
  • $wgRandomImageSize
Quarterly downloads 1 (Ranked 148th)
Übersetze die RandomGameUnit-Erweiterung, wenn sie auf translatewiki.net verfügbar ist
Probleme Offene Aufgaben · Einen Fehler melden

RandomGameUnit extension displays a randomly chosen picture game, poll or a quiz through the ‎<randomgameunit> tag.

Voraussetzungen

Along with one or more of the following extensions:

Installation

  • Die Erweiterung herunterladen und die Datei(en) in ein Verzeichnis namens RandomGameUnit im Ordner extensions/ ablegen.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RandomGameUnit
  • Folgenden Code am Ende deiner LocalSettings.php -Datei einfügen:
    wfLoadExtension( 'RandomGameUnit' );
    
  • Yes Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.

Parameter

  • $wgRandomGameDisplaycontrols what games are enabled.
    • $wgRandomGameDisplay['random_poll']display a random poll. Defaults to true.
    • $wgRandomGameDisplay['random_quiz']display a random quiz. Defaults to true.
    • $wgRandomGameDisplay['random_picturegame']display a random picture game. Defaults to true.
  • $wgRandomImageSize — Breite (in Pixel) für Spielbilder. Defaults to 50.