I'm migrating 1.5 to 1.6 and have run into the following problem.

We use the ImageLink macro pretty extensively on our wiki to resize
images and in the process of migrating, the script has turned all the

[[ImageLink(picture.jpg, width=600)]]

into

[[attachment:picture.jpg|{{attachment:picture.jpg||width=600}}]]

which gets served as

<img alt="|width=600" class="attachment"
src="/mywiki/MyPage?action=AttachFile&amp;do=get&amp;target=picture.jpg"
title="|width=600" /></a>

It looks like it can't handle an empty "alt text" argument between the
"||".  If I do

[[attachment:picture.jpg|{{attachment:picture.jpg|some alt text|width=600}}]]

then it works.  I didn't see this is MoinMoinBugs and I'm not sure
whether it's considered one.  I'm hoping it is and a patch will keep
me from a lot of wiki editing :-)

Thanks,
Greg

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to