Udvidelse:Discord
Appearance
Outdated translations are marked like this.
Discord udvidelsen sender notifikationer til et Discord webhook (eller flere) fra 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-eksempel: https://runescape.wiki (https://discord.gg/runescapewiki)
Installation
- Download and place the file(s) in a directory called
Discord
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'Discord' ); // List webhook URLs to send notifications to (string or array containing strings) $wgDiscordWebhookURL = [ "" ];
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Konfigurationsparametre
Se README
Se også
- Extension:DiscordNotifications - en alternativ Discord webhook udvidelse
- Extension:DiscordRCFeed
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. |
Categories:
- Stable extensions/da
- User interface extensions/da
- Notification extensions/da
- MIT licensed extensions/da
- Extensions in GitHub version control/da
- AfterImportPage extensions/da
- ApprovedRevsFileRevisionApproved extensions/da
- ApprovedRevsFileRevisionUnapproved extensions/da
- ApprovedRevsRevisionApproved extensions/da
- ApprovedRevsRevisionUnapproved extensions/da
- ArticleMergeComplete extensions/da
- ArticleProtectComplete extensions/da
- ArticleRevisionVisibilitySet extensions/da
- ArticleUndelete extensions/da
- BlockIpComplete extensions/da
- FileDeleteComplete extensions/da
- FileUndeleteComplete extensions/da
- LocalUserCreated extensions/da
- PageDeleteComplete extensions/da
- PageMoveComplete extensions/da
- PageSaveComplete extensions/da
- RenameUserComplete extensions/da
- UnblockUserComplete extensions/da
- UploadComplete extensions/da
- UserGroupsChanged extensions/da
- All extensions/da
- Extensions included in MyWikis/da
- Extensions included in ProWiki/da
- Discord extensions/da