Extension:AjaxComments

Category:Extensions without an imageCategory:GPL licensed extensions
MediaWiki extensions manual
AjaxComments
Release status: stableCategory:Stable extensions
Implementation User interfaceCategory:User interface extensions
Description Replace Talk page functionality with comments at the bottom of the page.
Author(s)
Latest version 3.0.0 (2023-06-29)
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.Category:Extensions with long-term support release branches compatibility policy
MediaWiki 1.39.xCategory:Extensions with manual MediaWiki version
PHP 8.0.x
Database changes Yes
Tables ajaxcomments
License GNU General Public License 2.0 or later
Download Category:Extensions in GitHub version control
  • $wgAjaxCommentsLikeDislike
  • $wgAjaxCommentsAvatars
  • $wgAjaxCommentsPollServer
  • $wgAjaxCommentsEmailNotify
  • $wgAjaxCommentsAdmins
Category:All extensions

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

Usage

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.

Installation

  • Download and place the file(s) in a directory called AjaxComments in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'AjaxComments' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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
Category:Discussion and forum extensions
Category:All extensions Category:ArticleViewHeader extensions Category:BeforePageDisplay extensions Category:Discussion and forum extensions Category:Extensions in GitHub version control Category:Extensions with long-term support release branches compatibility policy Category:Extensions with manual MediaWiki version Category:Extensions without an image Category:GPL licensed extensions Category:MakeGlobalVariablesScript extensions Category:Stable extensions Category:UserGetRights extensions Category:User interface extensions