Handling sgalleries could be done by defining a tagextension for mwlib. Unfortunately this is not exaclty easy. You could work around that problem by using a regular gallery for the printed version and the sgallery for browser display. Hints to achieve that can be found at: http://en.wikipedia.org/wiki/Help:Books/for_experts#Improving_the_book_layout

Regards,
Volker

On 02/09/2011 09:45 AM, Christoph Mitasch wrote:
would be great if someone could give me a hint.

Christoph

-------- Original Message --------
Subject: Interpret<sgallery>  tag the same way as<gallery>
Date: Mon, 24 Jan 2011 02:05:35 -0800 (PST)
From: Christoph Mitasch<[email protected]>
To: mwlib<[email protected]>

Hello,

I just started to use the Collection Extension together with mwlib.

We are using the SmoothGallery extension that enables a nice Ajax
gallery in Mediawiki.
Instead of the "<gallery>" tag, the tag"<sgallery>" is used, the
other syntax is more or less the same.

If a wiki article contains an "<sgallery>" tag, it is shown in plain
text in PDF.
It would be very nice if the "<sgallery>" tag would be interpreted the
same way as the "<gallery>" tag is.

I checked the source code of mwlib but couldn't get it working so far.
Since I'm not an python expert any hints would be appreciated.

Regards,
Christoph


--
volker haas                 brainbot technologies ag
fon +49 6131 2116394        boppstraße 64
fax +49 6131 2116392        55118 mainz
[email protected]    http://www.brainbot.com/

--
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.

Reply via email to