Extension:DiscordNotifications

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:DiscordNotifications and the translation is 35% complete.
Other languages:
English • ‎Türkçe • ‎français • ‎português • ‎中文 • ‎日本語
警告 警告: 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.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 ライセンス
ダウンロード

  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgDiscordNotificationWikiUrl
  • $wgDiscordNotificationWikiUrlEnding
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).

インストール

  • ダウンロードして、ファイルを extensions/ フォルダー内の DiscordNotifications という名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php の末尾に追加します:
    wfLoadExtension( 'DiscordNotifications' );
    // 必須。 Your Discord incoming webhook URL. Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668
    $wgDiscordIncomingWebhookUrl = "";
    // 必須。 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";
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定のパラメーター

Please read the project README file for more configuration options.