[Moin-user] Re: Re: getting started with page layout tweaking - need pointers
skip at pobox.com
Tue Aug 5 19:36:03 EDT 2003
Mike> You can use standard wiki syntax for referencies, for ex.
Mike> [http://www.python.org PySite]
>> Doesn't work for me....
Mike> FWIW using [url name] syntax in user preference works, so you may
Mike> want to take a look at the processing code.
Thanks. The change to the #redirect processor was pretty trivial. Instead
of assuming it's a WikiName, I check the first and last characters to see if
they are '[' and ']', respectively:
if pi_redirect[:1] =='[' and pi_redirect[-1:] == ']':
webapi.http_redirect(request, '%s/%s?action=show&redirect=%s' % (
(The above is in MoinMoin/Page.py, at least in 1.0.)
Since this is the argument to a #redirect and isn't rendered in the common
case, there's no real need for the full [url text] functionality.
More information about the Moin-user