Last modified: 2010-01-07 19:45:06 UTC
Created attachment 6830 [details] patch to add mode=gallery support to DPL This is a patch to the DynamicPageList extension (aka the intersection extension, as in the version used on wikimedia) to add an option to output the list of pages as an image gallery (the functionality was suggested on irc). It add the following parameters to <DynamicPageList> (which only have effect when mode=gallery): * imagewidth * imageheight * imagesperrow * gallerycaption * galleryshowfilesize * galleryshowfilename In addition, it also adds gallery as a valid output mode, and changes the interpertation addfirstcategorydate parameter when mode=gallery. I have done some testing of this on my private mediawiki install, and it all seems to work. Please bear in mind i am new to the world of php and mediawiki extensions, and would appreciate comments, critisisms, etc. Cheers, Bawolff
This patch is a follow-on to a WikiVoices discussion. The general idea is to make this available to Commons (possibly Wikipedia) so that galleries of featured pictures are near-automatically maintained.
See also Bug 21963, which has a patch that integrates the patch on this bug, but changes the gallerycaption parameter to expand certain variables (stuff like {{CURRENTYEAR}} )
Marking this FIXED as of r60800.