MediaWiki talk:Gadget-Descriptions.js

From Wikidata
Jump to navigation Jump to search

I created a simplified new version of this gadget: User:Fomafix/MediaWiki:Gadget-Descriptions.js.

In MediaWiki:Gadgets-definition the line

* Descriptions[ResourceLoader]|Descriptions.js

must be replaced by

* Descriptions[ResourceLoader|dependencies=wikibase.store.FetchedContent,jquery.tipsy]|Descriptions.js

This solves some bugs, because the description is not loaded on demand and not shown asynchronously. --Fomafix (talk) 18:04, 13 November 2013 (UTC)[reply]

When gerrit:107554 is merged this implementation must be updated. --Fomafix (talk) 09:12, 17 January 2014 (UTC)[reply]

The change is active. The current version doesn’t work anymore. I implemented a new version (diff). It has to be improved because it generates a lot of separate requests. --Fomafix (talk) 14:54, 27 March 2014 (UTC)[reply]
I preload the entityStore, so separate requests are not necessary anymore. I installed this implementation. But there are still some problems. It does not work with disabled debug mode as gadget. It is possible executed to early. --Fomafix (talk) 09:02, 28 March 2014 (UTC)[reply]