Extension:PageDisqus

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
PageDisqus

Release status:Extension status beta

PageDisqus.jpg
DescriptionTemplate:Extension#description Adds the Disqus commenting service at bottom of each page
Author(s)Template:Extension#username Michael Platzer, Felipe Schenone
Latest versionTemplate:Extension#version 0.4 (2016-07-24)
MediaWikiTemplate:Extension#mediawiki 1.25+
LicenseTemplate:Extension#license GPL
Download
ParametersTemplate:Extension#parameters
  • $wgPageDisqusShortname
  • $wgPageDisqusExclude
Hooks usedTemplate:Extension#hook
SkinAfterContentManual:Hooks/SkinAfterContent
SkinAfterBottomScriptsManual:Hooks/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' );
    
  • YesY 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]