User:Woozle/votes

From Issuepedia
< User:Woozle
Revision as of 00:04, 8 April 2012 by Woozle (talk | contribs) (more)
Jump to navigation Jump to search

How This Works

To make a simple rating of a given page on Issuepedia, place this code anywhere in your userspace: [[pagename::rating]]

I have to work out how to do more complex ratings; it will probably involve user-created subpages.

I also need to write the code to aggregate the votes, since I don't think SMW's existing functionality is smart enough to do this properly.

For now, I'm putting all my votes on this page and dividing it up into sections; later, I may split them into subpages.

More Technical Explanation

Any simple vote is a triad: [voter] rates [thing] with [value]. SMW lets you specify a key and a value for a given page, so we have to use key and page to handle [voter] and [thing]. Since users are voters, and each user already has a page, the obvious solution is to let users place votes on their userpage -- or on any page within their userspace, to allow for better organization of votes.

More complex votes are a tetrad: [voter] rates [attribute] of [thing] with [value]. Examples:

  • Attributes that might apply to a blog post include whether the logic makes sense, how well written it is, and whether you agree with it
  • Attributes that might apply to a person include whether they have integrity, whether you know them in person, and whether you'd vote for them