Difference between revisions of "Widget:DISQUS"

From LID SWM Planning and Design Guide
Jump to navigation Jump to search
m
m
Line 12: Line 12:
 
<script type="text/javascript">
 
<script type="text/javascript">
 
     /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
 
     /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
     var disqus_shortname = '<!--{$id|escape:'urlpathinfo'}-->'; // required: replace example with your forum shortname
+
     var disqus_shortname = '<!--{$id|escape:'lidwiki'}-->'; // required: replace example with your forum shortname
 
     <!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}-->
 
     <!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}-->
 
     <!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}-->
 
     <!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}-->

Revision as of 15:25, 26 July 2019

This widget allows you to embed DISQUS Comments on your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:DISQUS.