Extension:DisqusTag

Category:Unmaintained extensions#DisqusTag Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
DisqusTag
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions
Description Introduces <disqus> tags that insert an inline link that pop up a Disqus discussion.
Author(s) Sophivorustalk
Latest version 0.3 (2018-02-10)
MediaWiki 1.29+Category:Extensions with manual MediaWiki version
PHP 5.3+
Database changes No
License GNU General Public License 3.0 only
Download Category:Extensions in Wikimedia version control
  • $egDisqusShortname
<disqus>
Quarterly downloads 0
Translate the DisqusTag extension if it is available at translatewiki.net
Category:All extensions

The DisqusTag extension introduces <disqus> tags that serve to insert inline links that, when clicked, open a dialog box with Disqus comments.

Installation

  • Download and move the extracted DisqusTag folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/DisqusTag
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'DisqusTag' );
    $egDisqusShortname = 'your-disqus-shortname';
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage

The minimal usage is simply <disqus />, which inserts an inline link that opens a dialog box with Disqus comments.

By using a pair of tags, <disqus>Discussion title</disqus>, it's possible to change the title of the discussion together with the text displayed in the inline link. This can also be achieved via the "title" parameter, like so: <disqus title="Discussion title" />

The "id" parameter, <disqus id="my-discussion" />, allows to insert several different discussions in the same page. Without it, every Disqus tag links to the same discussion (one per page, as the url is used as the id).

Category:Disqus extensions
Category:All extensions Category:BeforePageDisplay extensions Category:Disqus extensions Category:Extensions in Wikimedia version control Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:ParserFirstCallInit extensions Category:ResourceLoaderGetConfigVars extensions Category:SkinAfterContent extensions Category:Tag extensions Category:Unmaintained extensions