Extension:DiscordNotifications

From mediawiki.org
This page is a translated version of the page Extension:DiscordNotifications and the translation is 95% 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 拡張機能マニュアル
Discord Notifications
リリースの状態: 保守されていない
実装 ユーザー インターフェイス, 通知
説明 記事の追加、除去、削除などの MediaWiki での操作の通知を Discord チャンネルに送信する
作者 Aleksi Postari (kulttuuriトーク)
最新バージョン 1.1.3 (2020-05-14)
MediaWiki 1.25+
PHP 5.2+
データベースの変更 いいえ
ライセンス MIT ライセンス
ダウンロード

  • $wgDiscordIncomingWebhookUrl
  • $wgDiscordFromName
  • $wgDiscordSendMethod
  • $wgDiscordNotificationWikiUrl
  • $wgDiscordNotificationWikiUrlEnding
DiscordNotifications 拡張機能の翻訳にご協力ください

DiscordをMediaWikiに統合する。 DiscordNotifications 拡張機能は、記事の追加、除去、削除などの MediaWiki での操作の通知を、指定された Discord チャンネル (複数可) に送信します。

インストール

  • ダウンロードして、ファイルをextensions/フォルダー内のDiscordNotificationsという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'DiscordNotifications' );
    // 必須。 あなたのDiscord通知用Webhook URL。 Read more from here: https://support.discordapp.com/hc/en-us/articles/228383668
    $wgDiscordIncomingWebhookUrl = "";
    // 必須。 メッセージの送信元として表示される名前。
    $wgDiscordFromName = "Wiki";
    // 末尾に/を付けてMediaWikiインストールへのURL。
    $wgDiscordNotificationWikiUrl = "http://your_wiki_url/";
    // wikiのスクリプト名。 URLの書き換えを有効にしていない場合は、デフォルトのものに設定してください。
    $wgDiscordNotificationWikiUrlEnding = "index.php?title=";
    // どのような方法でDiscordサーバーにデータを送信するのか。 デフォルトでは "curl "となっていますが、これはcurl拡張機能が有効になっている場合にのみ機能します。 これは "curl" または "file_get_contents" です。 既定値: "curl"
    $wgDiscordSendMethod = "curl";
    
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

設定のパラメーター

その他の設定オプションについては、プロジェクトのREADMEファイルをお読みください。

関連項目