Hi, Sure, I can add in such a global variable - maybe that's the right way to do it. Does all the SF stuff work for you when you comment out those lines?
On Mon, Oct 18, 2010 at 2:40 PM, Laurent Alquier <laur...@alquier.org> wrote: > Hi Yaron > > I just upgraded SF to version 2.0.1, > > I did run into a conflict between my current theme and the jQuery > initialization of SF. > I also saw your suggestion to disable jQuery calls in the skin itself - > which is not an option since I am using jQuery plugins to enhance the > interface. > > Would it be possible to add support for a global variable where jQuery would > be defined ? > > I had to comment out this section of code in SF_Utils in order to make > things work since I am already calling jQuery in my theme. > > if ( method_exists( 'OutputPage', 'includeJQuery' ) ) { > $wgOut->includeJQuery(); > } else { > $scripts[] = "$sfgScriptPath/libs/jquery-1.4.2.min.js"; > } > > I haven't found a lot of details about '$wgOut->includeJQuery()' yet, which > seems the default way to control inclusion of the library files. > > -- > - Laurent Alquier > http://www.linfa.net > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel > > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel