Re: [Wikitech-l] RL dynamic parameters

2011-07-01 Thread Roan Kattouw
On Fri, Jul 1, 2011 at 2:09 AM, Brion Vibber br...@pobox.com wrote: If it's different on every page you're going to output it on, then you may need to use a different technique. If you just need to export a variable to JavaScript, use the MakeGlobalVariables hook (for variables that can change

[Wikitech-l] RL dynamic parameters

2011-06-30 Thread Bryan Tong Minh
Hello, How do I pass parameters dynamically to an RL module? I need to pass a FileRepo object to the RL module when I call $wgOut-addModuleStyle(). Bryan ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] RL dynamic parameters

2011-06-30 Thread Brion Vibber
On Thu, Jun 30, 2011 at 11:34 AM, Bryan Tong Minh bryan.tongm...@gmail.comwrote: How do I pass parameters dynamically to an RL module? I need to pass a FileRepo object to the RL module when I call $wgOut-addModuleStyle(). I'm not sure this is really possible; all that happens when you call