Extension talk:ShareThis

Active X
This is a great extension, but it seems to be causing in error in IE7. I am running
 * MediaWiki: 1.9.2
 * PHP: 5.0.5 (cgi)
 * MySQL: 4.1.21-standard-log

The error comes when I first access my MW installation, a pop-up, asking to click 'ok' to run Active X control. I click 'ok' then IE7 crashes. Does anyone else experience this problem? --Rovo 03:30, 29 March 2007 (UTC)


 * Hmm - that's very strange. I haven't been able to reproduce this yet - I wonder if others are experiencing the same problem?  Are you sure it's ShareThis and not another extension? What other extensions do you have installed (if any)?  Thanks in advance. --Jimbojw 18:20, 29 March 2007 (UTC)

Minor Bug
The present code for the extension contains a bug: function wfInsertShareThisSidebar($template) {

global $wgShowShareThisSidebar, $wgShareThisSiteList, $wgTitle, $wgStylePath;

# Short-circuit if sidebar has not been activiated. if (!$wgShowShareThisSidebar) return;

# Close out the MonoBook toolbox and create a new "sharethis" portlet echo(       wfMsgForContent( 'share-this-toolbox-escape-html', wfMsgForContent('share-this-sidebar-header') )   );

# Display the links uksort($wgShareThisSiteList, 'strcasecmp'); foreach ($wgShareThisSiteList as $name=>$url) { $url = str_replace('$1', urlencode($wgTitle->getFullURL), $url); $url = str_replace('$2', urlencode($wgTitle->getText), $url); echo(           "" .            "" .            " " .            "$name"        );

} }

A return true; statement should be included at the end of the hook function in order for other extensions to have the chance to successfully hook themselves on 'MonoBookTemplateToolboxEnd' hook. This cause problems with other extensions such as Extension:Clipboard. Jean-Lou Dupont 18:33, 16 May 2007 (UTC)


 * Fixed! Thanks Jean-Lou --Jimbojw 20:19, 16 May 2007 (UTC)

Upgrade Issue
After upgrading to 1.10.1 we lost our bookmarks. It appears that Sharethis stores its images in the skins/common/images/sharethis/ folder. When I followed the Mediawiki upgrade instructions I preserved only the images and extensions folders, hence deleting the sharethis folder.

All has been fixed but might I suggest moving the sharethis images folder into the images/sharethis path to prevent problems with future upgrades? Many thanks, Paul (scribas).

Share this box below language box?
is there a way to put the ShareThis box below the language box? For my site, languages are more important than self promotion at this stage. --60.242.222.210 11:55, 1 December 2007 (UTC)

Additional social sites and formatting
Great extension now on my site, to which I have added some extra social sites, searching and bookmarks, and reformatted so that the icons become the list bullets. In ShareThis.php (adding Facebook, GoogleBookmark, IcerocketSearch, Propeller, StumbleUpon, TechnoratiSearch, Vigillar.se and YahooBookmark):

And in skins/monobook/main.css, I added:

And finally, I copied some of the icons from elsewhere into skins/common/images/sharethis. (iantresman) --84.9.191.165 14:02, 18 January 2008 (UTC)