Garbage Text In Section Headers / Incorrect Page Title
By using the development version of the SmoothGallery extension, I was able to get a gallery to show up. However, for some reason the title of the page gets changed to File:ImageXX.jpg, where ImageXX.jpg is the last image in the list of files for the sgallery, and all section titles have strange text added to them. For example:
==History==
Displays:
UNIQ58e2197a757753b4-h-1--QINUHistory
I saw that someone previously had the issue with the garbage text in the section headers, but their fix was to not show the infopane. If I set my sgallery tag to
<sgallery showinfopane="false">
It does not solve the problem. Can anyone offer any help?
Okay, so a little more digging and it looks like I can get it working, though I can't use the <sgallery> tag. The following works for me:
{{#sgallery:
|showinfopane=false
|imagelist=Image01.jpg
Image02.jpg
Image03.jpg
Image04.jpg
Image05.jpg
}}
Why would the parser function tag work and not the <sgallery> tag? Also, is there a way to set the infopane to false as a default so I don't have to use that tag every time?
I was able to find the file that contains the defaults. They're in SmoothGalleryParser.php. I used "showinfopane" => false, and now I can use <sgallery> to my heart's content. Now I just need to find out how to get the infopane working without garbling up my pages, and I'll be all set. Can someone PLEASE help with this?
I was thinking of dropping support for old style tags altogether. Is there a reason why you need to use this rather than the parser function style?
The <sgallery> tag just seems cleaner and easier to remember how to use than using the parser function style. That being said, people could always learn how to use the parser function version if need be.
The main issue though is that if showinfopane isn't set to false, there's all kinds of garbage text that shows up in the section headers and the page title gets changed.
Here's an example of a page that has the garbage text issue: http://www.threeawiki.com/Medic_Square²