Extension:Discord/pl

From mediawiki.org
This page is a translated version of the page Extension:Discord and the translation is 8% complete.
Podręcznik rozszerzeń MediaWiki
Discord
Status wydania: stabilne
Realizacja Interfejs użytkownika, Powiadomienia
Opis MediaWiki extension that sends notifications to Discord.
Autor(zy) Jayden Bailey (Jaydenkierandyskusja)
Ostatnia wersja 1.0.13 (2023-05-19)
Polityka zgodności Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.31+
Zmiany w bazie danych Nie
Licencja Licencja MIT
Pobieranie
Przykład https://runescape.wiki
  • $wgDiscordNoBots
  • $wgDiscordDisabledHooks
  • $wgDiscordSuppressPreviews
  • $wgDiscordNoMinor
  • $wgDiscordDisabledNS
  • $wgDiscordEmojis
  • $wgDiscordNoNull
  • $wgDiscordUseFileGetContents
  • $wgDiscordWebhookURL
  • $wgDiscordUseEmojis
  • $wgDiscordDisabledUsers
  • $wgDiscordPrependTimestamp
  • $wgDiscordMaxCharsUsernames
Translate the Discord extension

The Discord extension sends notifications to a Discord webhook (or several) from MediaWiki. When a certain event occurs on your MediaWiki wiki, including new edits, they can be sent as a message to a channel on a Discord server using a webhook.

This extension requires the PHP cURL extension to be installed on your web server, which on Linux is probably as simple as running sudo apt install php-curl -y.

Live demo: https://runescape.wiki (https://discord.gg/runescapewiki)

Installation

  • Download i umieść plik(i) w katalogu o nazwie Discord w swoim katalogu extensions/.
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'Discord' );
    // List webhook URLs to send notifications to (string or array containing strings)
    $wgDiscordWebhookURL = [ "" ];
    
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.

Configuration parameters

See README

Zobacz też