https://bugzilla.wikimedia.org/show_bug.cgi?id=30909

--- Comment #4 from Brad Jorsch <[email protected]> 2011-10-10 
18:52:36 UTC ---
Created attachment 9210
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9210
Patch to use the request-supplied value for checkbox variables

Right now, HTMLCheckField guesses if the form is being submitted (i.e. it's a
method="GET" form or it supplies wpEditToken). If not, it completely ignores
the request-supplied value in favor of the form's default.

Perhaps the thing to do is to always use the request-supplied value any time
there is one, as well as when it thinks the form is being submitted. This
should result in the appropriate logic for forms such as Special:Block:
?wpWatch=1 forces the checkbox on, ?wpWatch=0 forces it off, and not specifying
wpWatch at all gives the form default.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to