SocialBookMark Extension

License
GPL

Description
MediaWiki extension that provides links to popular social bookmarking and news sources for the Monobook skin.

By default, a list of icons of social bookmark services is displayed in the sidebar. It is possible to display the bookmark icons in the page's footer. If you want this, you have to patch skins/MonoBook.php with patches/MonoBook.php.patch. It adds a new hook. You also have to set $egShowSocialBookMark = 'footer' in your Localsettings.php.

A parser hook provides an additional tag. The name is the same as in Jimboyw's extension in order to keep compatibility. The empty tag is replaced by a list of bookmark icons wich becomes part of the page's content.

The extension provides a hook named 'SocialBookMarkTitleAndTags' that allows customisation of bookmark titles and tags. Hook in from your own extension if you want to modify the defaults.

This extension uses memcached. If not installed, comment out the few lines related to memcache. You won't loss too much performance when doing so.

Installation
Download from mediawiki/trunk/extensions/SocialBookMark/. Copy the folder SocialBookMark into your extension folder and add the following line to your LocalSettings.php file: require_once( "$IP/extensions/SocialBookMark/SocialBookMark.php" ); If you want the bookmarks to be displayed in the page's footer, patch skins/Monobook.php with the small patch shipped with this extension and add $egShowSocialBookMark = 'footer' below the above line.

Related extensions and credits
The basic idea for this extension is taken from Jim R. Wilson's ShareThis extension. The collection of link templates and the icons are taken from there.