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

--- Comment #5 from Bartosz DziewoƄski <[email protected]> ---
(In reply to comment #4)
> 'resetkeys' is unnecessary; it is already implemented. If you pass an option
> key without a value to ApiOptions, e.g.,
> api.php?change=optionkey|otheroption&token=blah, ApiOptions will interpret
> the
> option value to be null, which, when passed to User::setOption, causes the
> option to be reset to the default value.

Oh, that's interesting (and quite counterintuitive and undocumented). Thanks
for the info.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to