MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: beta
Description Adds the Disqus commenting service at bottom of each page
Author(s) Michael Platzertalk
Maintainer(s) Sophivorus
Latest version 0.8 (2021-07-24)
MediaWiki 1.25+
License GPL
  • $wgPageDisqusPageBlacklist
  • $wgPageDisqusNamespaceWhitelist
  • $wgPageDisqusCategoryBlacklist
  • $wgPageDisqusShortname
Translate the PageDisqus extension if it is available at translatewiki.net

Check usage and version matrix.

The PageDisqus extension automatically integrates the Disqus commenting service to every page, right after the content area.


  • Download and place the file(s) in a directory called PageDisqus in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'PageDisqus' );
    $wgPageDisqusShortname = 'your-disqus-shortname';
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


  • $wgPageDisqusShortname - Required! The Disqus shortname for your site. This is the identifier (or the hostname) you specify when entering your unique Disqus URL.
  • $wgPageDisqusPageBlacklist - Pages where Disqus comments shouldn't be displayed. For example: $wgPageDisqusPageBlacklist = [ 'Main Page' ];
  • $wgPageDisqusNamespaceWhitelist - Namespaces where Disqus comments should be displayed. For example: $wgPageDisqusNamespaceWhitelist = [ NS_MAIN, NS_HELP ]; Default is the main namespace only.
  • $wgPageDisqusCategoryBlacklist - Pages in these categories shouldn't display Disqus comments. For example: $wgPageDisqusCategoryBlacklist = [ 'Category:War', 'Category:Sex' ];

See alsoEdit