Extension:ShareThis

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
ShareThis

Release status: beta

Implementation Tag, Skin
Description Provides links to popular social bookmarking and news sources.
Author(s) Jim R. Wilson (Jimbojw)
Version 0.1
MediaWiki 1.6.x, 1.8.x, 1.9.x
Download ShareThis.php
Example Project Homepage

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.

[edit] Installation

  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
  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.

[edit] Usage

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 />

[edit] extended providerlist incl. icons

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


[edit] See Also

[edit] Wikis using this extension

Personal tools