Last modified: 2010-03-13 09:44:38 UTC
It would be excellent for the tag <gallery> to have a parameter that automatically applied the names of the individual files within the gallery respectively below each file. On the example page, if the file names could be applied rather than having to manually set each. If a file was manually named, then the tag would not do nothing in the field. Not sure whether it is asking to much for also for these new filenames to also be able to be hotlinked, either by default (preference) or by addition of another option.
Created attachment 6913 [details] patch to add parameter showfilename to <gallery> This is a patch that somewhat does what the bug is requesting, adds a parameter showfilename to the gallery tag, such that: <gallery showfilename> Image:SomeImage.png </gallery> Will add the image file name to the gallery (like on category pages). However it will do this in addition to (not instead of) the individual captions for each image.
Just looked at the patch. I think it looks good. Makes sense that explicit captions are still displayed. I'll check it in. -p
+need-parsertest, for both variants of behavior.
Created attachment 6936 [details] adds parser tests for gallery Patch to add parser tests for gallery per Comment 3. I was somewhat confused by how the parser tests work, so i'm not really sure if i did that right
Patch applied with r63671.