Extension:PageDisqus

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.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
Parameters
  • $wgPageDisqusShortname
  • $wgPageDisqusExclude
Hooks used
SkinAfterContent
SkinAfterBottomScripts
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.

Installation[edit]

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

Configuration[edit]

  • $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 also[edit]