User:Varnent/Sandbox

What can this extension do?
Adds an AddThis widget as a portlet to the sidebar and displays expanded widget as toolbar in the upper right corner of articles - just below the article's title and the site's tagline.

Download instructions

 * Copy the source code from SVN
 * In your extensions folder, create a new folder called AddThis
 * Add the new files to the new AddThis folder
 * Alternatively, if you have shell access, you can install using SVN:

Installation
To install this extension, add the following to LocalSettings.php:

Additional configuration parameters are below. While it is not appear to be required, it is highly recommended that you register an AddThis account and enter your user/profile id number to LocalSettings.php:

Release notes

 * 1.0a : Initial release
 * 1.0b : Use of ResourceLoader for css rather than loading within extension - fixes bug reported on MW1.18
 * Addition of Russian language to language file - thank you Unikum111!


 * 1.0c : Enable/disable settings for both the sidebar ($wgAddThisSidebar) and article header toolbar ($wgAddThisHeader) widgets
 * 1.0d : Addition of tag () for displaying article header toolbar widget on page outside of the main article namespace or for use on wikis with the header toolbar otherwise disabled
 * Improved localization - toolbar now uses language file as well


 * 1.0e : Setting ($wgAddThisMain) to disable appearance on main page (default is set to display on main page)
 * Cleaned up code and moved closer to matching MW's coding conventions

Planned features

 * Setting to disable appearance on main page rather than Common.css entry
 * Tag to display page header when it is otherwise disabled or on articles outside of the main article namespace

Wish list

 * Setting to change default namespaces to display page header toolbar on

Requests from community

 * Add any wishes to wish list or via talk page
 * Please test on wikis and report back via talk page
 * Code improvements from developers are especially welcome! Contributions included will be credited as co-authors
 * Language translations will be credited