Extension:Discord/pl
Appearance
The Discord extension sends public events to a Discord webhook from MediaWiki. When a certain event occurs on your MediaWiki wiki, such as recent changes and other log events, 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 kataloguextensions/
. - 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 = [ "" ];
- Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Configuration parameters
See README
Zobacz też
- Extension:DiscordNotifications - An alternate Discord webhook extension
- Extension:DiscordRCFeed
To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: To nie jest pełna lista. Niektóre farmy/hosty wiki lub pakiety mogą zawierać to rozszerzenie nawet jeśli nie są one tutaj wymienione. Zawsze sprawdzaj swoje farmy/hosty wiki, aby to potwierdzić. |
Categories:
- Stable extensions/pl
- User interface extensions/pl
- Notification extensions/pl
- MIT licensed extensions/pl
- Extensions in GitHub version control/pl
- AfterImportPage extensions/pl
- ApprovedRevsFileRevisionApproved extensions/pl
- ApprovedRevsFileRevisionUnapproved extensions/pl
- ApprovedRevsRevisionApproved extensions/pl
- ApprovedRevsRevisionUnapproved extensions/pl
- ArticleMergeComplete extensions/pl
- ArticleProtectComplete extensions/pl
- ArticleRevisionVisibilitySet extensions/pl
- ArticleUndelete extensions/pl
- BlockIpComplete extensions/pl
- FileDeleteComplete extensions/pl
- FileUndeleteComplete extensions/pl
- LocalUserCreated extensions/pl
- PageDeleteComplete extensions/pl
- PageMoveComplete extensions/pl
- PageSaveComplete extensions/pl
- RenameUserComplete extensions/pl
- UnblockUserComplete extensions/pl
- UploadComplete extensions/pl
- UserGroupsChanged extensions/pl
- All extensions/pl
- Extensions included in MyWikis/pl
- Extensions included in ProWiki/pl
- Discord extensions/pl