Open main menu

Extension:PageDisqus

MediaWiki extensions manual
OOjs UI icon advanced.svg
PageDisqus
Release status: beta
PageDisqus.jpg
Description Adds the Disqus commenting service at bottom of each page
Author(s) Michael Platzer, Felipe Schenone
Latest version 0.4 (2016-07-24)
MediaWiki 1.25+
License GPL
Download
  • $wgPageDisqusShortname
  • $wgPageDisqusExclude
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.

InstallationEdit

  • 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' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

ConfigurationEdit

  • $wgPageDisqusShortname: The Disqus shortname for your site. This is the identifier (or the hostname) you specify when entering your unique Disqus URL.
  • $wgPageDisqusExclude: This parameter lets you specify a list of pages where no Disqus comments should be displayed. For example: $wgPageDisqusExclude = array("Main Page", ".+:.+");

See alsoEdit