Last modified: 2008-04-19 18:18:58 UTC
Created attachment 4814 [details]
first version of adaptive rating form
The current drop down list rating form of FlaggedRevs is very clumsy in case you have only few available options you can choose from. Especially the anticipated simple setup of de.wikipedia is affected by this. Thus several people have asked for an rating form which adapts automatically to the available options via using radio buttons and check boxes and thus would reduce needed mouse clicks for rating (few mouse clicks is very important for user acceptance).
Below I have attached a patch for FlaggedRevs that provides this.
* The patch fixes as well some usability (see css) and logic glichtes (see e.g. handling of $wgFlagRestrictions review -1 and 0).
Can the JS be updated too?
OK, largely patched in for the most part. Not sure about the comment about flaggedrevspage.php needing to be patched.
New version of my patch:
* I have reintroduced my spacing as I think it is better and more flexible (spacing by multiple nbsp isn't that good for own/other/new skins IMHO).
* As well the code was somewhat shortened and some other small cleanups I stumbled at.
One anticipated case is still missing in the adaptive form (the click through link, like on revert) but this depends from a proper fix for #13682 (yet another serverside config variable is needed). I will do this later, as I also need to patch some other parts as well for this (the plugin needs to accept parameters via GET without a further form page on submit).
Created attachment 4827 [details]
second improved version of my patch
What "click through link"?
I meant something like in this old mockup of mine: http://commons.wikimedia.org/wiki/Image:Mockup-sighted-version-diff.png, the "Unterschied als gesichtet markieren" link.
In case a user can just flag a version as "sighted"/"basic check" and nothing more and no further comment is needed (as suggested for basic flags in [[bug:13682]]) one single link "tag this version with basic check" in case no flag is on this version and in the other case a link "tag this version as unapproved".
OK, but this can still be made as a button. So I don't see a need for modifying it to take GET requests.
At any rate, nice work! It takes a lot less clicks when there is one level and such. Are there any other usability ideas, aside from the one click submit?
At any rate, done in r33524. Any other ideas should go in a new patch, if any.