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

--- Comment #2 from Tisza Gergő <gti...@wikimedia.org> ---
(In reply to Bartosz Dziewoński from comment #1)
> Doesn't setting the preference to '0' / '1' via API always work as expected?

Depends on your definition of "work as expected". When
$wgDefaultUserOptions['multimediaviewer-enable'] is not set, disabling in
Special:Preferences results in the row being deleted, while setting to '0' via
the API results in a DB row with '0'. When querying the preferences, you will
get false either way, so functionally there isn't any difference, but there
will be if $wgDefaultUserOptions is changed.

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

Reply via email to