Page MenuHomePhabricator

When "default" is changed on the json page in Gadgets definitions space, it is not reflected on the Special:Gadgets page
Closed, ResolvedPublic

Description

Changed the page Gadget definition:disambiguate-marker from

{
    "settings": {
        "rights": [],
        "default": false,
        "hidden": false,
        "shared": false,
        "category": "markers",
        "skins": true
    },
    "module": {
        "scripts": [],
        "styles": [
            "Disambiguate-marker.css"
        ],
        "dependencies": [],
        "messages": [],
        "position": "bottom"
    }
}

(note "default": false,) into

{
    "settings": {
        "rights": [],
        "default": true,
        "hidden": false,
        "shared": false,
        "category": "markers",
        "skins": true
    },
    "module": {
        "scripts": [],
        "styles": [
            "Disambiguate-marker.css"
        ],
        "dependencies": [],
        "messages": [],
        "position": "bottom"
    }
}

(note "default": true,)

Checked back at Special:Gadgets and did a [ctrl]+[shft]+[r] but still the "Enable by default" is not checked.

Screendump gadgets-2-2016-05-17.png (527×959 px, 46 KB)

After a "Restore all default settings (in all sections)" the gadgets are checked as expected.

Event Timeline

Could very well be that I have missed something, I just poking around! =D

Strange, On Special:Version Gadgets reports (c02976b) 07:35, 18 July 2015
This is the version I got from vagrant after a git-update

Mentioned in SAL (#wikimedia-operations) [2016-10-06T00:08:22Z] <dereckson@tin> Synchronized php-1.28.0-wmf.21/extensions/Flow/: Make more types of exceptions loggable ([[Gerrit:314452]], T135545, T138310) (duration: 01m 12s)

Krinkle claimed this task.
Krinkle subscribed.

I'm assuming this was a general caching bug and not a problem unique to the Gadgets 2.0 user interface. Closing for now as a close duplicate of T110395: Changes in MediaWiki:Gadgets-definition are not applied when saving the page