Extension:Discord/gu
Appearance
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 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.
Configuration parameters
See README
આ પણ જુઓ
- Extension:DiscordNotifications - An alternate Discord webhook extension
- 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/gu
- User interface extensions/gu
- Notification extensions/gu
- MIT licensed extensions/gu
- Extensions in GitHub version control/gu
- AfterImportPage extensions/gu
- ApprovedRevsFileRevisionApproved extensions/gu
- ApprovedRevsFileRevisionUnapproved extensions/gu
- ApprovedRevsRevisionApproved extensions/gu
- ApprovedRevsRevisionUnapproved extensions/gu
- ArticleMergeComplete extensions/gu
- ArticleProtectComplete extensions/gu
- ArticleRevisionVisibilitySet extensions/gu
- ArticleUndelete extensions/gu
- BlockIpComplete extensions/gu
- FileDeleteComplete extensions/gu
- FileUndeleteComplete extensions/gu
- LocalUserCreated extensions/gu
- PageDeleteComplete extensions/gu
- PageMoveComplete extensions/gu
- PageSaveComplete extensions/gu
- RenameUserComplete extensions/gu
- UnblockUserComplete extensions/gu
- UploadComplete extensions/gu
- UserGroupsChanged extensions/gu
- All extensions/gu
- Extensions included in MyWikis/gu
- Extensions included in ProWiki/gu
- Discord extensions/gu