Difference between revisions of "Widget:AddThis"

From BroaDWcast
Jump to navigationJump to search
 
Line 10: Line 10:
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
</noinclude><includeonly><!-- AddThis Button BEGIN -->
 
</noinclude><includeonly><!-- AddThis Button BEGIN -->
<div style="cursor: pointer" onClick="return addthis_open(this, '', '<!--{$page_url|escape:'quotes'}-->', '<!--{$page_name|escape:'quotes'}-->')" onmouseout="addthis_close()"><img src="http://s9.addthis.com/button1-share.gif" width="125" height="16" border="0" align="bottom" alt="AddThis" /></div>
+
<div style="cursor: pointer" onClick="return addthis_open(this, '', '<!--{$page_url|escape:'quotes'}-->', '<!--{$page_name|escape:'quotes'}-->')" onmouseout="addthis_close()"><img src="https://s9.addthis.com/button1-share.gif" width="125" height="16" border="0" align="bottom" alt="AddThis" /></div>
 
<!-- AddThis Button END -->
 
<!-- AddThis Button END -->
  
Line 23: Line 23:
 
addthis_offset_top = '<!--{$offset_top|escape:'quotes'}-->';
 
addthis_offset_top = '<!--{$offset_top|escape:'quotes'}-->';
 
addthis_offset_left = '<!--{$offset_left|escape:'quotes'}-->';
 
addthis_offset_left = '<!--{$offset_left|escape:'quotes'}-->';
</script><script type="text/javascript" src="http://s7.addthis.com/js/152/addthis_widget.js"></script>
+
</script><script type="text/javascript" src="https://s7.addthis.com/js/152/addthis_widget.js"></script>
 
<!-- AddThis Rollover END -->
 
<!-- AddThis Rollover END -->
 
</includeonly>
 
</includeonly>

Latest revision as of 23:35, 24 August 2019

This widget allows you to add the AddThis social-bookmarking button to your wiki page.

It was created by Yaron Koren.

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 full source code of this page to your wiki as Widget:AddThis article.