Hi Ryan!

Thanks, now I understand all that!
-----
Yury Katkov, WikiVote



On Fri, Sep 6, 2013 at 9:27 PM, Ryan Kaldari <[email protected]> wrote:
> I updated the documentation with some examples.
>
> Ryan Kaldari
>
>
> On Fri, Sep 6, 2013 at 10:21 AM, Tyler Romeo <[email protected]> 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" <[email protected]> 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
>> > [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

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

Reply via email to