Difference between revisions of "Widget:DISQUS"

From the Dixwell Dossier
Jump to: navigation, search
(At long last!)
 
m (Hiding {{Widgets}} tag from view)
 
Line 1: Line 1:
{{Widgets}}
+
<noinclude>{{Widgets}}
<noinclude>__NOTOC__
+
__NOTOC__
 
This widget allows you to embed '''{{wp|Disqus|DISQUS Comments}}''' on your wiki page.
 
This widget allows you to embed '''{{wp|Disqus|DISQUS Comments}}''' on your wiki page.
  
Line 14: Line 14:
 
<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:'urlpathinfo '}-->'; // required: replace example with your wiki 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}-->

Latest revision as of 01:29, January 9, 2014

Widget icon
This page also appears in slightly different form at MediaWiki Widgets.
Original page license: Creative Commons Attribution-ShareAlikeSource code

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 the widget description page on MediaWikiWidgets.org.

External links