Extension:ScuttleBookmarks

What can this extension do?
This extension allows users to display bookmarks from a Scuttle-based social bookmarking website (you have to install that site) in a simple text box within an article page on your Mediawiki website. Users configure query parameters that get passed to the extension. The extension creates client side Javascript-based http call to your Scuttle website and displays the results in the article.

Usage
This extension would be used in a mashup between several wikis. For example, it can be put on a category page on one wiki to perform a query to a social bookmarking tool to display all bookmarks that have been tagged with the search term or where the search term matches the description of the bookmark. This allows users to quickly integrate social bookmarking capabilities with Mediawiki.

Here is an example how to use it within an article:


 * displaytype (simple|blogroll) determines the display of the results list
 * inputtype (searchterms|pagetitle|pagecategories) determines whether you will specify the search terms within the tags, whether to use the title of the page or to use the categories the article is assigned to
 * searchtype (term|tag) determines whether the extension should use your search term across title, description and tags or only for tag.
 * title (anystring) is displayed as the title above the results list
 * text is the actual search term if you choose inputtype="searchterms"

Installation

 * 1) Add the following to LocalSettings.php:
 * 1) Create a folder scuttlebookmarks in your MediaWiki extensions folder.
 * 2) Copy/paste the below PHP code into a text editor and save the file as scuttlebookmarks.php in the scuttlebookmarks folder.
 * 3) Copy/paste the CSS code into a text editor and save the file as scuttlebookmarks.css in the same folder.
 * 4) Copy/paste the Javascript code into a text editor and save the file as scuttlebookmarks.js in the same folder.