Difference between revisions of "Widget:DISQUS"
Jump to navigation
Jump to search
Jenny Hill (talk | contribs) (Created page with "{{Widget |description=Allows you to add DISQUS Comments. |author=Sergey Chernyshev |provider=DISQUS |providerurl=http://disqus.com/ |status=active |security=checked |addedon=2...") |
Jenny Hill (talk | contribs) m |
||
Line 8: | Line 8: | ||
|addedon=2010-03-05 | |addedon=2010-03-05 | ||
}} | }} | ||
− | This widget allows you to add [ | + | This widget allows you to add [https://www.disqus.com/ DISQUS Comments] to your wiki page. |
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
− | |id=</nowiki>[ | + | |id=</nowiki>[https://disqus.com/admin/register/ yourid]<nowiki> |
|uniqid={{PAGENAME}} | |uniqid={{PAGENAME}} | ||
|url={{fullurl:{{PAGENAME}}}} | |url={{fullurl:{{PAGENAME}}}} | ||
Line 21: | Line 21: | ||
== Parameters == | == Parameters == | ||
− | * '''id''' - short site id you used when [ | + | * '''id''' - short site id you used when [https://disqus.com/admin/register/ registered a site in DISQUS] |
* '''uniqid''' - optional unique ID for the page - you can set it to <code><nowiki>{{PAGENAME}}</nowiki></code> for wikis (to make it work on edit pages, and other URLs for the same page. | * '''uniqid''' - optional unique ID for the page - you can set it to <code><nowiki>{{PAGENAME}}</nowiki></code> for wikis (to make it work on edit pages, and other URLs for the same page. | ||
* '''url''' - optional URL for permalinking | * '''url''' - optional URL for permalinking | ||
− | '''Note:''' Currently DISQUS has issues with styles where MW CSS overrides theirs and bullets show up all over the place, the only solution at the moment is to [ | + | '''Note:''' Currently DISQUS has issues with styles where MW CSS overrides theirs and bullets show up all over the place, the only solution at the moment is to [https://docs.disqus.com/help/44/ switch to use their Narcissus theme]. |
{{Comments}} | {{Comments}} |
Revision as of 13:32, 26 July 2019
Template:Widget This widget allows you to add DISQUS Comments to your wiki page.
To insert this widget, use the following code:
{{#widget:DISQUS |id=yourid |uniqid={{PAGENAME}} |url={{fullurl:{{PAGENAME}}}} }}
You might want to create a template with this code called DISQUS and let people just use it like {{DISQUS}}
.
Parameters
- id - short site id you used when registered a site in DISQUS
- uniqid - optional unique ID for the page - you can set it to
{{PAGENAME}}
for wikis (to make it work on edit pages, and other URLs for the same page. - url - optional URL for permalinking
Note: Currently DISQUS has issues with styles where MW CSS overrides theirs and bullets show up all over the place, the only solution at the moment is to switch to use their Narcissus theme.