All discussions over here please! -- ZoranIsailovski 2008-01-12 11:03:28

Discussion

Hi Zoran! I like this very, very much. Really cool stuff your are doing for Moin! I have just tried it out and it seems to work perfectly. Maybe it is a problem, that one and the same person can rate several times on the same subject on the same page. This could lead to wrong rating results. Maybe an option for Rating macro "VoteOnce=True" which is by default "False" can help here. If the option is turned on, when voting also the username is saved to the voting file and not only the voting results (2, 7.0, 3.5). To ensure privacy maybe it is also possible to move the file with the voting results from the attachment dir to the cache dir (or somewhere else) so that people cannot view/change the file with the voting results by simply opening/viewing the attachment. However that's a matter of taste. Sometimes it could also be a problem when rating what 1 and 5 means. When doing surveys in social science, you normally would write behind the questions "Is it Comprehensible? (1=Yes ... 5=Not at all)" or "How does it make you feel? (1=Very Bad ... 5=Very Good") or "Moin is a well-thought wiki engine (1=I fully agree ... 5=I fully disagree)". This makes it more clear to the person who is rating. Or what do you mean? -- OliverSiemoneit 2007-10-27 12:58:54

Hi Zoran, can we use this macro for the same kind of rating as doodle is used? -- ReimarBauer 2007-10-29 11:46:07


Wooh, it's so great to get all this feedback, folks... and I've been eagerly looking forward for the wiki mig to finish so I could respond... Many thank to you all! :-)

@Anke,

I'm glad you like it and are using it. As I already responded to Oliver, I am working on a solution that should prevent multiple ratings - but in a way that might be somewhat surprising, and more in the "wiki spirit" ;-) Stay tuned for version 1.1.

Regarding your ordering issue: I'm quite surprised! The default sort order is: By subject (alphabetically, in ascending order), then by rating in descending order. This means, ratings are grouped by subject, and within each group, they are sorted by rank - higher rank first. Perhaps it is by accident that subjects which are shown first are not rated yet... BTW, by clicking on the column titles in the ranking table you can change the ordering. (I guess, I should mention this in the description.) Anyway, if you still have an issue with ordering, please put a note and a screen shot in /KnownIssues.


@Reimar,

it depends on what you mean by "use it for the same kind of rating". Generally speaking, doodle's goal is to benchmark a set of options with regard to their poularity to a (limitted or unlimitted) group of people in order to achive consensus. Doodle's "way" is to assotiate a binary choice with each option (sort of "yes I like this option" vs. "no I don't like this option"), sum up the yes-opts, and point out the option with most yes'es. With n-star rating, you can also apply a more sophisticated opting allowing for intermediate nuances between "fully yes" (5 stars) and "not at all" (1 star). To schedule an event, try this:

|| Fri 7  || [[Rating(doodle_Fri7)]]  ||
|| Tue 11 || [[Rating(doodle_Tue11)]] ||
|| Thu 20 || [[Rating(doodle_Thu20)]] ||
|| Wed 26 || [[Rating(doodle_Wed26)]] ||
|| Wed 10 || [[Rating(doodle_Wed10)]] ||
|| Wed 17 || [[Rating(doodle_Wed17)]] ||

The only thing you cannot view (yet) is how each individual user has opted, but the sum result is practically the same - you get the most popular option.

At least that's how I am viewing at it right now. However, doodle has probably more (and more specialized) features then this, so... again: It depends on what you mean by "use it for the same kind of rating"...

Did this help?

Cheers -- -- ZoranIsailovski 2007-10-31 23:19:16


Zoran, after seeing some changes in the ratings on my page I'd now like to see on how many votes the rating is based. I'm not really interested in who voted what, but to get a feeling how seriously my opinion differs from the others it would be nice to see how many votes have been collected. -- AnkeHeinrich 2007-11-05 16:50:00


Hi Zoran,

I have had to change for 1.6 because of a changed name for the wiki parser

146 from MoinMoin.parser import wiki fails for me in moin-1.6.0/wiki/data/plugin/macro/Rating.py 

it needs to be changed to

from MoinMoin.parser import text_moin_wiki as wiki

cheers -- ReimarBauer 2008-01-08 16:13:36

fixed Version online.

MoinRatings1.6_fixed.zip Regards,

-- BenjaminWeber 2008-01-08 17:23:03

Using MoinRatings-1.6_fixed.zip with MoinMoin 1.6.0, the Rating macro worked, but Ratings did not until I made the change in this patch: main.diff. To find the Rating macros, the code searches for the old wiki markup, [[Rating(...)]] instead of <<Rating(...)>>.

-- JonathanRogers 2008-01-11 21:11:42

Hi I did found a bug today. You can't use Rating on a page/subpage/subsubpage. clicking on a star gives for example

page/subpage/page/subpage/subsubpage?test2_var=1&x=6&y=7#rating-test2

-- ReimarBauer 2008-02-19 15:09:09


Hi Zoran,

Traceback (most recent call last):
  File "E:\moin\data\plugin\macro\MoinRating\main.py", line 32, in execute
    return Run(macro, args or '')
  File "E:\moin\data\plugin\macro\MoinRating\main.py", line 101, in DoForm
    thisForm = macro.form
AttributeError: Macro instance has no attribute 'form'

Might you kindly check what is happended ? Thank you. -- Homer Chen 2010-11-14 17:17:49


I have exactly same problem as above, but mine version is 1.9.5. Do you still update this macro? -- Aarne H. 2013-01-25


MoinMoin: RatingSystemForMoin/Discussion (last edited 2013-01-25 13:57:02 by 194)