Yes I'm using both jQuery and jQueryUI in some of my extensions and
they've broken in MediaWiki 1.17 because neither of them are being
loaded any more. I've tried many different variations of using
$wgOut->addModules and setting items in $wgResourceModules but no matter
what I do I can't seem to get the jQuery scripts to load. The browsers
error log just says that the $, jQuery and other functions aren't defined.

On 01/08/11 23:51, Jelle Zijlstra wrote:
> Are you aware that jQuery and jQuery UI are two different things?
> 
> 2011/8/1 Aran Dunkley <[email protected]>
> 
>> Hello, I'm trying to update some of my extensions to work with the
>> ResourceLoader in 1.17, and I can't work out how to get jQuery to load.
>> I've tried the example at
>>
>> http://www.mediawiki.org/wiki/ResourceLoader/Migration_guide_for_extension_developers
>>
>> and tried adding it directly,
>> $out->addModules( array( 'jquery.ui' ) );
>>
>> But nothing I do will actually get the script to load and become
>> available, can anyone tell me the new syntax to get jQuery there?
>>
>> Thanks,
>> Aran
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to