Hi Ryan!
Thanks, now I understand all that!
-----
Yury Katkov, WikiVote
On Fri, Sep 6, 2013 at 9:27 PM, Ryan Kaldari <rkaldari(a)wikimedia.org> wrote:
I updated the documentation with some examples.
Ryan Kaldari
On Fri, Sep 6, 2013 at 10:21 AM, Tyler Romeo <tylerromeo(a)gmail.com> wrote:
All of the config variables go into the global
mw.config object. You should
be able to use mw.config.get to retrieve them.
--
Tyler Romeo
On Sep 6, 2013 1:03 PM, "Yury Katkov" <katkov.juriy(a)gmail.com> wrote:
Hey guys!
This hook appears to be the proper way to pass my extension setting
variables to javascript. [1] I don't get how it works. I mean, saw the
examples in Semantic Result Formats and get what PHP side should look
like. Still I have no idea how to access those variables in
javascript. Please help me to figure this out.
[1]
https://www.mediawiki.org/wiki/Manual:Hooks/ResourceLoaderGetConfigVars
-----
Yury Katkov, WikiVote
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l