We need some help with the new JS2 method. Th documentation is understandably a bit patchy (http://www.mediawiki.org/wiki/Talk:JS2_Overview - anything better or more?).
Scenario: we use jquery for javascript that resides in the mediawiki namespace and is called through mediawiki:common.js In the last months, the usability initiative has provided the necessary jquery core library. With the update to the current mediawiki revision (as used by wikipedia) this no longer works. I understand that JS2 provides a superior mechanism. And I understand that ulitmately, putting language strings into php might be beneficial.
For the moment, however: Is there a simple cooking recipe to simply make use of JS2 for having jquery loaded? We could write an extension, to hardcode that, but we would like to move forward and start using JS2.
thanks in advance!
Gregor