From mediawiki.org
MediaWiki extensions manual
Release status: stable
Implementation User interface
Description Replace Talk page functionality with comments at the bottom of the page.
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.
MediaWiki 1.39.x
PHP 8.0.x
Database changes Yes
Tables ajaxcomments
License GNU General Public License 2.0 or later

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

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


  • Download, extract 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.


This extension replaces the standard MediaWiki talk page functionality by allowing to add comments at the bottom of the 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.


Here are the parameters which affect the operation of the extension. These should be set in your "LocalSettings.php" file after invoking the extension.

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