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

--- Comment #9 from Tisza GergÅ‘ <[email protected]> ---
The 'toggle' preference type sets an up_value of '1' for enabled, '' for
disabled, but the row is omitted if the setting is the same as the default.
Commons has MediaViewer disabled as default for logged-in users, so the cleanup
query is

UPDATE user_properties SET up_value = '1' WHERE up_property =
'multimediaviewer-enable' AND up_value = 'true';
DELETE FROM user_properties WHERE up_property = 'multimediaviewer-enable' AND
up_value IN ( '', '0' );

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to