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

--- Comment #4 from Tyler Romeo <[email protected]> ---
'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.

All that is needed is 'resetkinds', so that certain groups of options can be
reset, e.g., only userjs- options, rather than having to reset all options.

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