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

Rainer Rillke @commons.wikimedia <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Rainer Rillke @commons.wikimedia <[email protected]> 
---
Here is what before a change was possible:

POST
https://commons.wikimedia.org/w/api.php

action    options
format    json
optionname    gadget-Gallerypreview
optionvalue    1
token    XXXXXXXXXXXXXXXXXXXXXXX+\

But the response is now:

{"warnings":{"options":{"*":"Not a valid preference:
gadget-Gallerypreview"}},"options":"success"}

At Commons there is a gadget named "Gallerypreview". c.f.
https://commons.wikimedia.org/wiki/MediaWiki:Gadgets-definition

The same happens when attempting to disable a gadget:
action    options
format    json
optionname    gadget-Slideshow
optionvalue    0
token    XXXXXXXXXXXXXXXXXXXXXXX+\


Is this deployed yet?

Aside from that, it shouldn't return "success"... Nothing is changed because it
couldn't find the key so it's an error.

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

Reply via email to