Extension:DecentDiscordFeed
![]() Release status: betaCategory:Beta status extensions |
|
---|---|
Implementation | NotifyCategory:Notification extensions |
Description | Extremely simple recent changes to Discord webhook extension |
Author(s) | Chlod Alejandro (Chlodtalk) |
Compatibility policy | Master maintains backward compatibility.Category:Extensions with master compatibility policy |
MediaWiki | 1.41+Category:Extensions with manual MediaWiki version |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
|
|
DecentDiscordFeed is another extension aimed at sending recent changes to Discord. It works by using Discord webhooks, and sends an message with an embed including details for every recent change.
Embeds are modeled after the recent changes messages sent by the WikiBot Discord bot.
Barely any customizability options as of now. Meant to be used in small-scale wikis.
Installation
- Download and place the file(s) in a directory called
DecentDiscordFeed
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'DecentDiscordFeed' ); // The webhook to send recent changes to $wgDecentDiscordFeedWebhook = "https://discord.com/api/webhooks/...";
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration parameters
Parameter | Default | Comment |
---|---|---|
$wgDecentDiscordFeedWebhook |
null |
The webhook to connect to. |
$wgDecentDiscordFeedLogIcon |
![]() "https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/OOjs_UI_icon_information-progressive.svg/600px-OOjs_UI_icon_information-progressive.svg.png" |
The icon to use for log events. |
$wgDecentDiscordFeedLogColor |
0x3066CD |
The color to use for log events. |
$wgDecentDiscordFeedEditAddIcon |
![]() "https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/MobileFrontend_bytes-added.svg/512px-MobileFrontend_bytes-added.svg.png" |
The icon to use for edits with added bytes. |
$wgDecentDiscordFeedEditAddColor |
0x00AF89 |
The color to use for edits with added bytes. |
$wgDecentDiscordFeedEditRemoveIcon |
![]() "https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/MobileFrontend_bytes-removed.svg/512px-MobileFrontend_bytes-removed.svg.png" |
The icon to use for edits with removed bytes. |
$wgDecentDiscordFeedEditRemoveColor |
0xDD3333 |
The color to use for edits with removed bytes. |
$wgDecentDiscordFeedEditNeutralIcon |
![]() "https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/MobileFrontend_bytes-neutral.svg/512px-MobileFrontend_bytes-neutral.svg.png" |
The icon to use for edits with no change in bytes. |
$wgDecentDiscordFeedEditNeutralColor |
0x72777D |
The color to use for edits with no change in bytes. |
$wgDecentDiscordFeedShowLogParameters |
true |
Whether to show log parameters as part of log events. |
See also
- Extension:Discord
- Extension:DiscordNotifications - an alternate Discord webhook extension
- Extension:DiscordRCFeed
Category:All extensions
Category:Beta status extensions
Category:Discord extensions
Category:Extensions in GitHub version control
Category:Extensions with manual MediaWiki version
Category:Extensions with master compatibility policy
Category:Extensions without an image
Category:GPL licensed extensions
Category:Notification extensions
Category:RecentChange save extensions