Last modified: 2012-11-16 03:17:00 UTC
In de.wikipedia you need to edit MediaWiki:Gadgets-definition twice in order to add a new entry/remove an entry from the resulting "Gadgets" tab in Special:Preferences (Spezial:Einstellungen there). So only every second edit to MediaWiki:Gadgets-definition seems to get recognized by the extension (a null edit as second edit works).
This is somehow related to how the Gadgets extension caches the list of gadgets maintained on MediaWiki:Gadgets-definition: after parsing, it stuffs them into memcached. If the page is edited, the cache entry is invalidated. I don't know why this doesn't work on the live site, it works for me locally, even with memcached enabled (if i in fact managed to correctly enable it). So, it would be great if someone with better knowledge of the caching system could look into this - maybe it's related to the local message cache thingy?
Fixed in revision 27891 with some help from Brion. Should go live soon.
I still experience this problem on it.wikipedia. Today I added a gadget in Gadgets-definition. I waited several hours but the gadget didn't show up in the Prefs. Then I made a null edit and it immediately began working.
Is this bug still reproduceable?
(In reply to comment #3) > I still experience this problem on it.wikipedia. Today I added a gadget in > Gadgets-definition. I waited several hours but the gadget didn't show up in the > Prefs. Then I made a null edit and it immediately began working. https://www.mediawiki.org/wiki/Special:Code/MediaWiki/27891
Seemingly might be from bug 33829 Null edit fixed it in this case also
I believe the English Wikipedia just hit this issue. There was a corrupt memcached entry with a value of "enwiki:gadgets-definition:6" that Tim had to delete manually in order to get the Gadgets extension working again.