Extension:EdutagsButton

What can this extension do?
Allows you to include EdutagsButton (Edutags project: www.edutags.de) in custom places on you MediaWiki site very simply. This button allows you to make bookmarks on www.edutags.de

Screenshots




Usage
There are 2 Edutags button you can place on your wiki site: Comment and Voting button. You can place them inside your content or in the menu panel (toolbox, navigation etc.)

Place buttons inside you content
You can place the buttons whereever you want in your content and you can give them custom style in the 'data-style' attribute.

Place buttons in the sidebar (menu bar)
Therefore edit the JavaScript file and change the JSON-Array:

"place": use 'languages', 'toolbox' or 'navigation' to place the Edutags Buttons

"style": use 'monochrom' or 'color' to 'languages' or 'toolbox'. Or you give no argument to this function call. In this case the buttons will be not inserted.

Download instructions
You can download the php file from EdutagsButton.zip or copy and paste the code below to the file: . ''Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php''.

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