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

       Web browser: ---
             Bug #: 42639
           Summary: Regression: API action=options cannot enable/disable
                    gadgets
           Product: MediaWiki
           Version: 1.21-git
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: code-update-regression
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


After change I98df55f2 from bug 42202, the API's action=options can no longer
change the preferences for which gadgets are enabled, or anything else that
uses a "multiselect" HTMLForm element.

The problem is that these multiselect elements are stored in the user
preferences table by storing one key with a boolean value for each option in
the multiselect, but the validation code added does not take this into account
and therefore considers all of these option keys invalid.

Gerrit changeset to be posted shortly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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