Extension:AjaxRatingScript

Extension:AjaxRatingScript is a social rating extension.

AjaxRatingScript V2 tested on different versions of MediaWiki

 * MediaWiki 1.15 - Working
 * MediaWiki 1.14 - Working
 * MediaWiki 1.6.12 - error: unexpected T_OBJECT_OPERATOR in RateArticle.php on line 21:

Installation
For installation of version 1.x follow instructions on http://www.leerwiki.nl/How_to_get_rating_script_work For older versions of MediaWiki try this link or check the instructions at the end of the RateArticle.php V2 file. For installation of version 2:
 * Create the RateArticle.php (www.leerwiki.nl - author's site) file and include it in your mediawiki extensions directory
 * Set the $pathToRating variable in RateArticle.php according to your mediawiki path
 * Download the Unobtrusive AJAX Star Rating Bar files to your mediawiki extensions/Ratings folder
 * Edit _config-rating.php in the extensions/Ratings folder according to your database user settings
 * Add the usual line to the end of your LocalSettings.php:
 * Create the table ratings in your mediawiki db
 * TADAA

The script's code is not prepared to be invoked from any other directory than where it is placed, so you'll need to adjust some values to make it work on your MediaWiki implementation transparently:


 * _config-rating.php: Update your MySQL connection info.
 * _drawrating.php: Prefix your MW full path to db.php. In my case, it would be /mediawiki/extensions/Ratings/db.php
 * js/rating.js: Prefix your MW full path to rpc.php. In my case, /mediawiki/extensions/Ratings/rpc.php

In order to translate the script to other language you'll have to work with: _drawrating.php, js/rating.js, db.php and rpc.php.

RateArticle.php V2
';

$wgOut->addWikiText($i);

} ?>

Who's using it?
Please add your working-wiki here!

Creator:
 * LeerWiki.nl : Learn handy stuff

Users:
 * Piemontewireless.net ComputerScience, Electronics, Mathematics and more Wiki
 * DarlingWiki.com A guide for events and resources for parents and kids
 * NasiLL.com : howto sources for turkish users "howto"
 * Stoopid Wiki : A fun source for all things "stoopid"
 * HTPCnz : Home Theatre PC Wiki - Chat - Forums - Blogs
 * AlaskaMountainForum.com : Alaska Mountain Forum Wiki
 * IpbWiki.com : IpbWiki
 * CaptainWiki.com : Sailing Wiki
 * Wereldpagina.nl : World-wide travel guide
 * Atheist Encyclopedia Freethought wiki
 * hobby-planet.de : XBox 360 Wiki (Solutions, etc.)
 * wikiknitting.com Knitting Knowledgebase and Free Patterns
 * Wikinouvelles.fr Ideas
 * WikiPH Public health Wiki
 * Emunity Elders Community Older Peoples Local Community Wiki based in Brent UK
 * Vietnamese Library of Science Ajax Rating for pages + a summary special page
 * Socialopedia, l'encyclopédie collaborative des socialistes Politic wiki on french (MW1.12, Rating limited to Namespaces : 'Motion:' and 'Proposition:')
 * John Bryntze Knowledge Base IT articles
 * AsianMediaWiki Asian Movie Database
 * NLPedia German NLP Wiki
 * Freecoffee German Freeware-Wiki
 * Guitarpedia Free Guitar index and lessons
 * Spielwiki ein Wiki für Spiele - Partyspiele, Brettspiele, Kartenspiele...
 * pcwelt-tipps.de Tips and Howtos from pcwelt.de (german language)
 * Venicewiki.org The People's Guide to Venice
 * GayWiki LGBT Wiki of Turk Gay ClubOffical Site
 * citroen-sm.org Citroen SM Wiki
 * Wiki GREMPIS : Gas metering technologies and devices (Russian language)