#sgallery hook and Image captions not working
Fragment of a discussion from Extension talk:SmoothGallery
OK. Here are the updates:
1) Updating to the latest version - 1.1h presumably (whichever corresponded with Mediawiki 1.16.x) - solved the Image captions issue and the #sgallery issue. There is no need now to comment out the $local_parser lines in SmoothGalleryParser.php. Everything's working fine now.
2) However #sgallery does not accept images which are duplicates of wikimedia commons images. Something clashing with $wgForeignFileRepos.
3) <sgallery> tag is clashing with Semantic Mediawiki queries. It works if there is only the first part of the query eg:
{{#ask: [[Category:Cities]]
|limit=10
|format=list
}}
But does not work if you specify more eg:
{{#ask: [[Category:Cities]]
| ?country
|limit=10
|format=list
}}
The error produced is a popup message saying "Handler could not be removed"
Any suggestions?? Veryhuman 03:25, 3 September 2010 (UTC)