Last modified: 2012-05-03 10:41:06 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 T31359, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29359 - Allow gadgets to load after site js
Allow gadgets to load after site js
Status: RESOLVED DUPLICATE of bug 32537
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-12 17:58 UTC by Yair Rand
Modified: 2012-05-03 10:41 UTC (History)
4 users (show)

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


Attachments

Description Yair Rand 2011-06-12 17:58:12 UTC
Gadgets load before Mediawiki:Common.js, but sometimes it is necessary for a gadget to load after the site js. There should be a way to specify in Mediawiki:Gadgets-definition that a gadget is dependent on site js. (Note that [ResourceLoader|dependencies=site] does not do this, it causes a duplicate of site js to run, causing everything in site js to run twice.)
Comment 1 Krinkle 2011-06-12 22:22:33 UTC
(In reply to comment #0)
> but sometimes it is necessary for a gadget to load after the site js.

Could you provide a real-world example or usecase ?
Comment 2 Lupo 2012-05-03 10:41:06 UTC

*** This bug has been marked as a duplicate of bug 32537 ***

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


Navigation
Links