2010/11/5 Dmitriy Sintsov <ques...@rambler.ru>:
> Hi!
> If my extension does not need jQuery and I don't like minification, why
> can't I still use OutputPage::addScript() in my code?
You totally can. It's not recommended, and it'll be less performant,
but you can use it and it'll work. Your script tag will end up near
the bottom of the <body> though, so you can't use inline JS to call
functions defined in that script.

> Aren't too much
> number of extensions would become suddenly incompatible due of that
> change?
As long as they're not using inline JS, they won't break.

Roan Kattouw (Catrope)

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to