Extension:DiscordNotifications/ru
Appearance
Статус релиза: стабильно |
|
|---|---|
| Реализация | Пользовательский интерфейс, Уведомлять |
| Описание | Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel |
| Автор(ы) | Aleksi Postari (kulttuuriобсуждение) |
| Поддерживающий(ие) | Universal Omegaобсуждение |
| Последняя версия | 3.1.0 (2025-08-16) |
| MediaWiki | 1.43+ |
| PHP | 8.1+ |
| Изменения в БД | Нет |
| Лицензия | GNU General Public License 3.0 или позднее |
| Скачать | GitHub: |
|
|
|
| Переведите расширение DiscordNotifications | |
Integrate Discord with MediaWiki. The DiscordNotifications extension sends notifications of actions in MediaWiki like adding, removing or deleting an article into designated Discord channel(s).
Установка
- Download и распакуйте файл(ы) в папку с названием
DiscordNotificationsв вашей папкеextensions/. - Добавьте следующий код в конце вашего файла LocalSettings.php:
wfLoadExtension( 'DiscordNotifications' ); // Required. Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668 $wgDiscordIncomingWebhookUrl = ""; // Required. Name the message will appear be sent from. $wgDiscordFromName = "Wiki"; // URL into your MediaWiki installation with the trailing /. $wgDiscordNotificationWikiUrl = "http://your_wiki_url/"; // Wiki script name. Leave this to default one if you do not have URL rewriting enabled. $wgDiscordNotificationWikiUrlEnding = "index.php?title="; // What method will be used to send the data to Discord server. By default this is "curl" which only works if you have the curl extension enabled. This can be: "curl" or "file_get_contents". По умолчанию: "curl" $wgDiscordSendMethod = "curl";
Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.
Параметры конфигурации
Please read the project README file for more configuration options.
См. также
| Это расширение включено в следующие вики-фермы/хостинги и/или пакеты: |
Categories:
- Stable extensions/ru
- User interface extensions/ru
- Notification extensions/ru
- GPL licensed extensions/ru
- Extensions in GitHub version control/ru
- PageDeleteComplete extensions/ru
- PageMoveComplete extensions/ru
- LocalUserCreated extensions/ru
- BlockIpComplete extensions/ru
- UploadComplete extensions/ru
- ArticleProtectComplete extensions/ru
- UserGroupsChanged extensions/ru
- APIFlowAfterExecute extensions/ru
- AfterImportPage extensions/ru
- PageSaveComplete extensions/ru
- PageUndeleteComplete extensions/ru
- ModerationPending extensions/ru
- All extensions/ru
- Extensions included in Miraheze/ru
- Discord extensions/ru
