https://bugzilla.wikimedia.org/show_bug.cgi?id=32580
--- Comment #5 from [email protected] 2011-11-22 23:54:35 UTC --- I just tested the creation of a new page again, which should obey the mandatory default value of "3", and it succeeds in eliminating "None" and preselecting "3": http://www.coincompendium.com/wiki/index.php/Special:FormEdit/Bug_32580/CreateTestPage I may have conflated the edit and the create default behaviors as being the same, when in fact it appears they are supposed to be different, as you pointed out, if an existing page being edited does not have a value assigned yet. Although that was confusing for me when creating fresh pages as a developer, I think as a user it is a sensible default to do nothing instead of wedging in a default if, for example, that default is added at a later time. I'm disappointed that I spent so much time on this, but I think it was a good exercise for producing bug reports with a demo that shows behaviors that can be quickly evaluated as either correct or incorrect. Where I ran into trouble was in creating the test page: http://www.coincompendium.com/wiki/index.php/Bug_32580 It originally had no template {{Bug 32580}}, which produces the error "Warning: This page already exists, but it does not use this form." - claiming that it the page does not use the Bug_32580 form: http://www.coincompendium.com/wiki/index.php/Bug_32580_sans_form_template So, I guess we're at an edge case where we're trying to make a preexisting page editable with a form that has a radio button field, but has no presently defined value for the field. Perhaps the real bug/enhancement is that the error message should be omitted, and the radio button should display a "None" field, while also preselecting the specified mandatory default as it currently does?: http://www.coincompendium.com/wiki/index.php?title=Bug_32580_sans_form_template&action=formedit The error message saying that the page "does not use this form" is confusing because it is incorrect, at least in this case, and probably the reason I managed to conflate cases where "None" is supposed to appear, and when it isn't. I seem to have expected that it would be supposed to appear, without a form error message, while the default value is preselected. Would that be a better behavior for the radio button fields when a form is added to a page that did not use it previously? Perhaps "None" should not appear as an option when the field is mandatory, which is the current behavior, but maybe there's a good reason why the error message should also be retained too? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
