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





--- Comment #1 from Andrew Garrett <[email protected]>  2009-12-31 
09:28:42 UTC ---
The point of having that exception thrown in Special:Preferences was primarily
to avoid these sorts of bugs from remaining unnoticed when people added
preferences with defaults that did not validate (in fact, it was added as
debugging code for a preference I added).

I still believe that throwing an exception when encountering an invalid
preference default is appropriate, but perhaps it could be restricted to wikis
with development warnings on. In production environments, it may make sense to
find another value that validates.


-- 
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

Reply via email to