You can now write Less Wrong comments that contain polls! John Simon picked up and finished some code I had written back in 2010 but never finished, and our admins Wesley Moore and Matt Fallshaw have deployed it. You can use it right now, so let's give it some testing here in this thread.
The polls work through the existing Markdown comment formatting, similar to the syntax used for links. Full documentation is in the wiki; the short version is that you can write comments like this:
What is your favorite color? [poll]{Red}{Green}{Blue}{Other}
How long has it been your favorite color, in years? [poll:number]
Red is a nice color [poll:Agree....Disagree]
Will your favorite color change? [poll:probability]
To see the results of the poll, you have to vote (you can leave questions blank if you want). The results include a link to the raw poll data, including the usernames of people who submitted votes with the "Vote anonymously" box unchecked. After you submit the comment, if you go back and edit your comment all those poll tags will have turned into [pollid:123]. You can edit the rest of the comment without resetting the poll, but you can't change the options.
It works right now, but it's also new and could be buggy. Let's give it some testing; what have you always wanted to know about Less Wrongers?
Oooh great idea. Bugs / Suggestions:
The answers are transformed into this tiny little poll code with a poll id, so I assume it's being saved to a database. However, the questions are not being saved with them. I can edit my question after the poll has been answered. This may result in some pranks later where you ask some obvious question like "does the earth revolve around the sun" or whatever and everyone answers "yes" and then you can change your question to "are you a Scientologist?" and you will see everyone's votes saying "yes" to that. Much more malicious changes are possible, of course. Also, if the questions aren't stored in the database with the answers, you won't have as many options later for doing cool things with your database full of polls.
The code: [Poll] does not work because it's upper case, but this is not an obvious reason for poll failure, so one may end up wasting lots of time trying to figure it out or make annoying requests for support. Making this case insensitive is probably a good idea.
The poll seems designed for very short answers. My elitism poll results look bad for that reason.
Feature, not bug.