https://bugzilla.wikimedia.org/show_bug.cgi?id=63080
Brad Jorsch <bjor...@wikimedia.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy --- Comment #1 from Brad Jorsch <bjor...@wikimedia.org> --- When not passed a value to set the option to, ApiOptions should either skip the validation attempt (relying on $user->setOption to handle null properly) or should fetch the default itself from User::getDefaultOption. The former seems slightly easier, while the latter seems slightly cleaner. I don't see a whole lot of reason to prefer either way. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l