On Aug 9, 7:34 pm, jpcozar <[email protected]> wrote: > Hello All, > > It must be an easy answer but I cant find it after navigating. > > In my mediawiki, I'm used to use the magic word {{SERVER}} everything > I'm referring to an internal link. By example: > > {{SERVER}}/cacti > > When I render it with mwlib, yet mw-render in command line or through > Collection Extension, what I get it's: > > http://en.wikipedia.org/cacti > > Where would I change that default value ? >
It's part of the PageMagic class's __init__ in mwlib/templ/magics.py. The server parameter is not being passed in and so the default is used (which is http://en.wikipedia.org/) -- Cheers Ralf -- You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mwlib?hl=en.
