Extension:ShareThis

From MediaWiki.org
Jump to: navigation, search

Note Note: This extension does not work with newer versions of MediaWiki, due to the use of $wgMessageCache, which was removed in 1.18.0

MediaWiki extensions manual - list
Crystal Clear action run.png
ShareThis

Release status: unmaintained

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

Translate the ShareThis extension if possible

Check usage and version matrix; code metrics

The ShareThis Extension 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 | edit source]

  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[edit | edit source]

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 | edit source]

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 | edit source]

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

See Also[edit | edit source]