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
Version: unspecified
Severity: enhancement
Attached: