MediaWiki ships it's own jQuery since 1.16. SMW has it's own copy to be able to use it with MW 1.15.x. If the installed MW has it's own jQuery, that copy is used.
In any case, I think there is still work to be done to take full advantage of the benefits the resource loader provides. This will require some re-ordering or even re-writing of scripts at places though.
Jeroen De Dauw
Don't panic. Don't be evil. 50 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!
it seems that the current MediaWiki has removed the addOnloadHook, and we depend on a number of places (tool tip, sortable tables, etc.)
I wanted to know if anyone has already looked into that, or if I should take a look?
Also, I would like to change the SMWOutputs::requiredHeadItems to use the addScriptFile method, as otherwise we cannot guarantee to have jQuery already loaded (which seems to provide the usual replacement for the addOnloadHook).
Another question: why does SMW include a jQuery library? Isn't there now one in MW proper?
I am finally not very sure on how this would all deal with downward compatibility, I mean it is a pain to write for 1.15 and 1.16 and 1.17. I understand that we should definitively keep with 1.16 (since it is the latest stable release), but how much of a pain would it be to drop 1.15?