Extension:DiscordNotifications/ru

This page is a translated version of the page Extension:DiscordNotifications and the translation is 5% complete.
Внимание Внимание: This extension may pose serious security and/or privacy risks! This extension is configured by default to detailed user registration information to the designated reporting channel(s), which is usually considered private information. While this extension does not give access to account passwords, it does give access to private data such as real names, email addresses, and IP address information that could be easily abused. It is recommended that you consider opting out of these options. We are not responsible for any security or privacy leaks.
Справка по расширениям MediaWiki
OOjs UI icon advanced-invert.svg
Discord Notifications
Статус релиза: стабильный
Discord mediawiki.jpg
Реализация Пользовательский интерфейс, Уведомлять
Описание Sends notifications of actions in MediaWiki like adding, removing or deleting an article into Discord channel
Автор(ы) Aleksi Postari (kulttuuriобсуждение)
Последняя версия 1.1.3 (2020-05-14)
MediaWiki 1.25+
PHP 5.2+
Изменения БД Нет
Лицензия MIT License
Загрузка

  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgDiscordNotificationWikiUrl
  • $wgDiscordNotificationWikiUrlEnding
Translate the DiscordNotifications extension

Проверьте использование и версию.

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).

Installation

  • 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". Default: "curl"
    $wgDiscordSendMethod = "curl";
    
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Configuration parameters

Please read the project README file for more configuration options.

См. также