Last modified: 2012-11-16 03:17:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14128, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12128 - Extension:Gadgets with strange page caching (?) bug on special:preferences
Extension:Gadgets with strange page caching (?) bug on special:preferences
Status: REOPENED
Product: MediaWiki extensions
Classification: Unclassified
Gadgets (Other open bugs)
unspecified
All All
: Low normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.mediawiki.org/wiki/Extensi...
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-26 23:47 UTC by Daniel Arnold
Modified: 2012-11-16 03:17 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Arnold 2007-11-26 23:47:48 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).
Comment 1 Daniel Kinzler 2007-11-26 23:51:02 UTC
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? 
Comment 2 Daniel Kinzler 2007-11-27 16:53:33 UTC
Fixed in revision 27891 with some help from Brion. Should go live soon.
Comment 3 Pietrodn 2008-12-22 17:33:08 UTC
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.
Comment 4 Max Semenik 2011-02-16 17:45:38 UTC
Is this bug still reproduceable?
Comment 5 Sam Reed (reedy) 2012-01-31 17:14:44 UTC
(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
Comment 6 Sam Reed (reedy) 2012-01-31 19:19:51 UTC
Seemingly might be from bug 33829

Null edit fixed it in this case also
Comment 7 MZMcBride 2012-11-16 03:17:00 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links