Extension talk:AjaxRatingScript

Author B.Vahrmeijer
I've cleaned up the code by using standard hooks instead of manual hooks.
 * 1) It works for all versions
 * 2) The AJAX element works fine now.
 * 3) The script is now downloadable and working at promotionwiki.com and leerwiki.nl

if you have MW installed in a subsite like www.yourdomain.com/wiki/index.php and the rating script does not work please read the manual at leerwiki.nl and the discussion site.

Hello and thanks for your extension I installed it on my site : http://www.wikinouvelles.fr It works fine but something doesn't: When a user clicks on a vote, then navigate on the site and go back to the voted page, the vote doesn't appear. To make it appear, i have to clear the mozilla cache, and then the vote appear. Strange no ?

No, this isnt strange.. please read the posts the discussion at http://www.leerwiki.nl/Overleg:Ajax_script_for_Mediawiki_1.10

Thank you for your answer. I have read this forum, else i wouldn't have asked my question here, but didn't found the answer i wanted. I am going to read it again. Bye

You have your wiki build up like this: www.yourdomain.com/wiki/index.php this has consequences for the script code
to emphasize the 5! different paths which are important:

good luck
 * RateArticle.php: path to js/behavior.js
 * RateArticle.php: path to js/rating.js
 * RateArticle.php: path to css/rating.css
 * Ratings/drawrating.php: path to db.php
 * Ratings/js/rating.js: path to rpc.php

Yes, thanks, we finally found it, and made redirection in LocalSettings.php towards www.yourdomain.com/wiki And now it works. Thank you.

Good job: put your wiki on the first page plz thnx