Extension:ShareThis

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
ShareThis

Release status: stable

Sharethis-screenshot.png
Implementation Tag, Skin
Description Provides links to popular social bookmarking and news sources.
Author(s) Jim R. Wilson (Jimbojw)
Last version 0.1.4 (2008-01-28)
MediaWiki 1.6.x until 1.16.x
License The MIT License
Download ShareThis.php
Example Project Homepage
Check usage and version matrix

The ShareThis Extension is a MediaWiki extension which provides links to popular social bookmarking and news sources.

Please see the official project homepage for up-to-date installation notes, usage tips and advanced features.

Project Homepage
ShareThis Extension - Jimbojw.com
Source Code
ShareThis.php
Licensing
ShareThis is released under The MIT License.

Installation [edit]

  1. Download ShareThis, and be sure to rename the downloaded file to ShareThis.php.
  2. Drop this script in $IP/extensions
    Note: $IP is your MediaWiki install dir.
  3. Download sharethis-icons.zip or extended version Download
  4. Extract the archive contents into $IP/skins/common/images (it will create a directory called 'sharethis')
  5. Enable the extension by adding this line to your LocalSettings.php:
    require_once('extensions/ShareThis.php');
    

Configuration (optional)

If you'd like the "Share This" sidebar to be displayed, simply add the following to your LocalSettings.php:

$wgShowShareThisSidebar = true;

Note: This works by hooking into 'MonoBookTemplateToolboxEnd'. If you're using a skin which doesn't call this hook, then the above will not work.

For more configuration options, see the Project Homepage.

Usage [edit]

Once installed, you can add links to the social bookmarking or news sites to any page.

To do so, simply add the following to the the article where the links are to appear:

<sharethis />

extended providerlist incl. icons [edit]

There is a extended list of 53 providers available incl. needed icons Download


See Also [edit]

Wikis using this extension [edit]