From: James Hong Kong <jamesin.1@gm...> - 2012-02-19 14:13:23
SRF_Gallery.php sometimes can lead to a large display thumbnails
therefore we thought we provide a patch  which allows to use the
jcarousel plug-in  to display galleries as a carousel.
It is a fairly simple enhancement therefore the best way to implement
this enhancement is through a small patch on the original
SRF_Gallery.php to keep maintenance low.
Depending on the new introduced parameter galleryformat=carousel the
required jquery plug-in is loaded and handles the display of the
The integration was tested with Firefox and Chrome on SMW 1.7, SRF 1.7
and MW 1.18.
 is included
PS : Their is a Fatal error when the Gallery is executed on the
Special:Ask page which causes a Fatal Call to a member function
getMaxIncludeSize() on a non-object which is caused by $imgCaption =
$wgParser->recursiveTagParse( $imgCaption );. The $imgCaption =
$wgParser->transformMsg( $imgCaption, ParserOptions::newFromUser( null
) ); might solve this for the execution in Special pages but I haven't
included any patch for it, so it would be nice if some else could
review this part to make sure Special:Ask doesn't produce any