[Wikitech-l] include google api with ResourceLoader

2013-10-11 Thread Yury Katkov
Hey guys! Google has its own loader called jsapi which typically is included as following: script type=text/javascript src=http://www.google.com/jsapi;/script How can I include it using $wgResourceModules to use in my extension? - Yury Katkov, WikiVote

Re: [Wikitech-l] include google api with ResourceLoader

2013-10-11 Thread Yury Katkov
Well, speaking more broadly, how can I include any remote javascript with ResourceLoader? - Yury Katkov, WikiVote On Fri, Oct 11, 2013 at 8:21 PM, Yury Katkov katkov.ju...@gmail.com wrote: Hey guys! Google has its own loader called jsapi which typically is included as following:

Re: [Wikitech-l] include google api with ResourceLoader

2013-10-11 Thread Tyler Romeo
On Fri, Oct 11, 2013 at 1:32 PM, Yury Katkov katkov.ju...@gmail.com wrote: Well, speaking more broadly, how can I include any remote javascript with ResourceLoader? Somebody can correct me if this is wrong, but I don't think ResourceLoader supports that, primarily because it's outside the

Re: [Wikitech-l] include google api with ResourceLoader

2013-10-11 Thread Jeroen De Dauw
Hey, I don't know what the current state of affairs is, but when I looked into this for the Maps extension shortly after RL was introduced, it was not possible. Cheers -- Jeroen De Dauw http://www.bn2vs.com Don't panic. Don't be evil. ~=[,,_,,]:3 --