Extension:AjaxComments/ja

From mediawiki.org
This page is a translated version of the page Extension:AjaxComments and the translation is 11% complete.
MediaWiki 拡張機能マニュアル
AjaxComments
リリースの状態: 安定
実装 ユーザー インターフェイス
説明 Replace Talk page functionality with comments at the bottom of the page.
作者
最新バージョン 3.0.0 (2023-06-29)
互換性の方針 長期間サポート リリースであるすべての MediaWiki リリースについて、拡張機能に対応するブランチが存在します。
MediaWiki 1.39.x
PHP 8.0.x
データベースの変更 はい
テーブル ajaxcomments
ライセンス GNU 一般公衆利用許諾書 2.0 以降
ダウンロード

  • $wgAjaxCommentsLikeDislike
  • $wgAjaxCommentsAvatars
  • $wgAjaxCommentsPollServer
  • $wgAjaxCommentsEmailNotify
  • $wgAjaxCommentsAdmins

The AjaxComments extension replaces the Talk page functionality with comments at the bottom of a page.

使用法

This extension replaces the standard MediaWiki talk page functionality by allowing to add comments at the bottom of a page or replies to existing comments. Authors can edit or delete any of their comments without responses, and sysops can edit or delete any comments. Deleting a comment with replies will also remove all the answers to it.

インストール

  • Downloadして、ファイルをextensions/フォルダー内のAjaxCommentsという名前のディレクトリ内に配置します。
  • 以下のコードを LocalSettings.php ファイルの末尾に追加します:
    wfLoadExtension( 'AjaxComments' );
    
  • 更新スクリプトを実行します。このスクリプトは、この拡張機能が必要とするデータベーステーブルを自動的に作成します。
  • Configure as required.
  • Yes 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。

Configuration

This extension provides the following configuration parameters, which should be added below invoking the extension in your "LocalSettings.php" file:

Parameter Default value Meaning
$wgAjaxCommentsLikeDislike false Defines whether or not to add a like/dislike link to each comment
$wgAjaxCommentsAvatars true Defines whether or not to add avatars for users using the Gravatar service
$wgAjaxCommentsPollServer 0 Defines to poll the server to see if any changes to comments have been made and update if so
$wgAjaxCommentsEmailNotify true Defines whether or not to send notifications about replies and activity on watched pages to users by email
$wgAjaxCommentsAdmins sysop Defines the user groups that have admin privileges for comments