User:Woozle/votes

From Issuepedia
< User:Woozle
Revision as of 16:07, 7 April 2012 by Woozle (talk | contribs) (Created page with "==How This Works== To make a simple rating of a given page on Issuepedia, place this code anywhere in your userspace: <b><nowiki>[[</nowiki><u>pagename</u>::<u>rating</u><nowi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

More Technical Explanation

Any vote is a triad: [voter] rates [option] 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 [option]. 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.

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