Actions

AddThis

From MediaWiki Widgets

AddThis widget
Description:Allows you to add the AddThis social-bookmarking button.
Author:Yaron Koren
Provider:AddThis
Code:Widget:AddThis
Status:active
Security:unknown
Inv-Icon tools.svg.png

To copy this widget to your wiki, cut and paste the entire source of the AddThis widget code page into a page called Widget:AddThis on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on MediaWiki.org and follow the installation instructions.


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

To insert this widget, use the following code:

{{#widget:AddThis
|page_name={{PAGENAME}}
|page_url={{fullurl:{{PAGENAME}}}}
|account_id=my-account-id
|logo_url=
|logo_background=FFFFFF
|logo_color=FFFFFF
|brand=My Wiki
|options=favorites, email, digg, delicious, more
|offset_top=0
|offset_left=0
}}

If you want to use fixed value for account_id on your site or even fix the styles and the widget to share only current page, you can create a template called something like Template:AddThisWidget and tell users to call {{AddThisWidget}} instead of the {{#widget}} parser function.

You can read more about these options on the AddThis documentation page.

Sample result

An account id is required for this widget to show a sample result.

Links

Some documentation from AddThis for current features and for future development:

Note

** See the discussion tab for information about a problem with the offset that causes the popup to display off the screen **

Comments

blog comments powered by Disqus