From: Denny V. <den...@ki...> - 2010-10-13 22:17:31
|
Hi, 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? Cheers, Denny |