Open main menu

Extension talk:JSKitRating


Mediawiki ExtensionsEdit

Extensions by Jean-Lou Dupont. For more information on these extensions, we are invited to visit [1].

PEAR channelEdit

All extensions are available as PEAR package on [2].


All extensions are also available as tarball on SVN.

Feature Requests / IssuesEdit

  Note:Please use the trac system available here for reporting issues or filing feature requests. You can also use this facility to vote for issues/features.


To see a rating list of my extensions, please consult Extensions Ratings.

Debug InformationEdit

I usually include debug information on the page Special:Version next to the extension. For example, in Extension:ExtensionManager there is an indication if parser caching is found to be active and if the package PEAR::Validate is available.

SVN RSS feedEdit

There is an RSS feed for changes on the SVN: feed.

Hidde last <script> TagEdit

If someone like to rate multiple entries, noscript=true must be set beside the last entry. Entries are added or changed sometimes by users and user don't know about settings, ignore it or change my "FakeCounter". This often results in voting lists, that only works until noscript=false is given. Entries after that are ignored, because of the <script> Tag.

So I make

{{#jskitrating: path=nopath|noscript=false}}

to the end of this (single) wikipage. Is it possible to make this code unchangeable to users or can I somehow "hidde" this entry from user (e.g. in <head> or in a footer)? I know that there still remains the problem, if a user changes the noscript variable to false inside the list, but I don't know a better solution at this time.

  1. Is it required to give a full path to the site or could it be a "unique" name within the site?


Woa [CLOSED]Edit

Just one word : Unbelievable!! Just an other Wonderful(^^) extension. You'r so brilliant(I don't if it could be said like that). But woaa.

But on bad thing, the div have a with background I don't no if that is possible to disable it.And where are stored the data ?? . And I have some suggestion:

  • Let the choice for the color "{{#jskitrating:|back=black|star=blue|break=no}}" (break fonction is like input box that provide the possibility to display the text near the star and not below)
  • Change the star like ajxratings.
  • Cancel a vote

Just thing about that, I know that the originale code is not from you but I could be perfect with that.--Add 00:23, 6 January 2008 (UTC)

Thanks! Check out v1.1.0 for support of the optional parameters. Jean-Lou Dupont 04:58, 6 January 2008 (UTC)
Yeah, you were very fast Thanks but:
  • When I try {{#jskitrating:starColor="Ruby"}} or {{#jskitrating:" starColor="Ruby"}} or {{#jskitrating:starColor=Ruby}} or any combination as possible but there is one effect : Fatal error: Class 'ExtHelper' not found in .../w/extensions/JSKitRating/JSKitRating.body.php on line 41.--Add 08:41, 6 January 2008 (UTC)
Oups, sorry I haven't seen the sentence about stubmanager (^^). --Add 08:47, 6 January 2008 (UTC)

Multiple Entries per page [CLOSED]Edit

Very nice extension, thank you. I thought it wasn't working for a moment because all computers behind my router were only allowed to put up one review per rating. But other people on other networks can add to it just fine. My problem is that I can't seem to get the multiple entries on a single wiki page to work. My wiki would look something like this:

{{#jskitrating:path="/br/the church/bonhoeffer1"}}


{{#jskitrating:path="/br/the church/jenkins1"}}

But it doesn't work. what am I doing wrong? I only get one of the two places to have a review appear. thanks-- 21:31, 10 January 2008 (UTC)

The problem stems from the fact that the script is included each time in this way. You need to use the noscript parameter to control when the script is included. E.g. only the last {{#jskitrating}} statement must include the script so do:

{{#jskitrating:path=/br/the church/bonhoeffer1|noscript=true}}


{{#jskitrating:path=/br/the church/jenkins1|noscript=false}}

Jean-Lou Dupont 22:30, 10 January 2008 (UTC)

that works perfectly thank you so much. And thank you for the prompt response. any chance of an extension for their polling function down the road too? :)-- 23:42, 10 January 2008 (UTC)

JS-Kit Polling? Of course! Just have to find the 15minutes it will take me to do it! Stay tuned on my RSS channel (link available on my user page. Jean-Lou Dupont 01:26, 11 January 2008 (UTC)

Top rated pages? (CLOSED)Edit

Nice extention, but is there a way to display the top rated pages? (I mean, like option 6 on this page) Patheticcockroach 16:00, 13 April 2008 (UTC)

Then consider using Extension:JSKitNavigator. Jean-Lou Dupont 17:45, 13 April 2008 (UTC)
Looks good, I'll give it a try. Thanks :) Patheticcockroach 18:36, 13 April 2008 (UTC)

Nice jobEdit

Great extension. On next versions I would apreciate if the extension could allow voting of logged in users only. Thanks Rhcastilhos 11:58, 28 April 2008 (UTC)

Hi - the closest we could get to this requirement would be to conditionally show the rating based on the current user's logged-in status i.e. only logged-in users would see the rating viewer. Jean-Lou Dupont 12:06, 28 April 2008 (UTC)

Within a Line?Edit

I am trying to get the rating to work at the end of a line of text, or right underneath another one, instead of having to be a seperate line with a large space all around it. Is there any way of getting this to work or am I just missing something simple? Thank you so much -- 23:36, 5 June 2008 (UTC)

Use a table to align stuff as you wish. Jean-Lou Dupont 23:55, 5 June 2008 (UTC)
If that is the way to do it, so be it. Thank you for your prompt response as always.

Wow! JsKitScore??Edit

This is a fantastic extension!!! Espacially your JsKitcomment can be used to motivate people without wiki-experience to post there (to copy&paste) it into code. Question: Do you also have an extension for JsKitScore? - I know, it is integrated in the Navigator, but I want to use it very limited...Thanks for great work!! --Jorgusch 12:33, 9 June 2008 (UTC)

Thanks. For JsKitScore: just use this extension and view=score in the parameters. Jean-Lou Dupont 16:08, 9 June 2008 (UTC)
Ops, forgot to put it on watchlist..thanks for quick response!!
However, another question. I get a white background rectangle behind the rating. I contacted the JS-Kit and they told me, there is no there some way to turn it off? It is mentioned above, but I do not see the answer. The word "background" does not appear on the extension page itself. Thanks! --Jorgusch 17:53, 15 June 2008 (UTC)
You probably need to play with some CSS to go around this; the extension does not play in that region itself. Jean-Lou Dupont 18:24, 15 June 2008 (UTC)

transclude ratingsEdit

I noticed on your personal wiki that you have a page that lists all of your extensions along with the rating, I was just wondering how you do this? I tried but I just end up with a seperate rating box. thanks redekopmark 02:42, 27 October 2008 (UTC)

Extension:JSKitNavigator Jean-Lou Dupont 12:22, 27 October 2008 (UTC)

multiple ratings on one pageEdit

I am having trouble figuring this out. First off what does the br and the church and the jenkins relate to below so i can make it specific to my site and have people rate multiple videos on one page. example used above: {{#jskitrating:path=/br/the church/jenkins1|noscript=false}}

how do you associate a specific rating with a specific video so it relates the rating with the specific video on the navigation extension. do you just put the jskit code below the line where you embeded the video? so on the hot section is shows the actual video that people rated well... hopefully this makes sense. you have great ideas by the way..

Simple questions…Edit

Where are the rating control files?

How can I reset a page score?

A few caveats with JSKitRAtingEdit

Users should know that the company hosting this software charges for their extension if you have large page views. They have recently lowered their fees, currently if your wiki gets over 1 million pages views a month they charge $49 a month and over 5 million page views a month they charge $495 a year. The software is free if the page view is lower than a million per month.Also the core software is hosted on the page and not on your own server, which could be a good or bad thing (bad = if the company went kaput your ratings databse would probably cease to work / good = might lessen the load on your server).

Rating via Category wiseEdit

I have many Category and I want Rating only in single category not in all site. How can I use it please Help..

I have to modify and re-save my php-files(ex: LocalSettings.php) to make it display well...Edit

Hi, this extension is great. Thank you first! However, I have to modify and re-save my php-files(ex: LocalSettings.php) to make it display well while adding a parser function to a new page. How can I fix this problem. Thank you for your time again.

if possible running this extension without connectting to ""Edit

Thank you for creating this extension. My question is one of my wiki runs only on my local machine(without connected to internaet). So how should I do if I dont want to connect to "". Also without connectting to "" may help this extension faster. Thank you very much



could you add picture of how it look like? The example wikies are not available.--Juandev (talk) 19:42, 10 July 2012 (UTC)

404 author and example linksEdit

The author website and examples are down, and I'm guessing its been that way for quite a while. If someone sees this in a few months, remove the links. Ian Kelling (talk) 06:31, 21 May 2014 (UTC)

Return to "JSKitRating" page.