Fix, works on MW 1.18 and SG 1.1h,
in SmoothGalleryClass.php find (line 283):
$outputPage->addScript( '<script src="' . $extensionpath . '/scripts/mootools.uncompressed.js" type="text/javascript"></script>' );
$outputPage->addScript( '<script src="' . $extensionpath . '/scripts/jd.gallery.js" type="text/javascript"></script>' );
$outputPage->addScript( '<script src="' . $extensionpath . '/scripts/HistoryManager.js" type="text/javascript"></script>' );
and replace it with:
$outputPage->addHeadItem( 'smgal1','<script src="' . $extensionpath . '/scripts/mootools.uncompressed.js" type="text/javascript"></script>' );
$outputPage->addHeadItem( 'smgal2','<script src="' . $extensionpath . '/scripts/jd.gallery.js" type="text/javascript"></script>' );
$outputPage->addHeadItem( 'smgal3','<script src="' . $extensionpath . '/scripts/HistoryManager.js" type="text/javascript"></script>' );
pass parameters fix, in SmoothGallery.php (line 112):
function initSmoothGalleryTag( $input, $argv, $parser ) {
$output = initSmoothGallery( $input, $args, $parser );
return $output;
}
replace
function initSmoothGalleryTag( $input, $argv, $parser ) {
$output = initSmoothGallery( $input, $argv, $parser );
return $output;
}