https://bugzilla.wikimedia.org/show_bug.cgi?id=21669

           Summary: Make DynamicPageList (aka Intersection) optionally
                    output  <gallery>
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: need-review, patch
          Severity: enhancement
          Priority: Normal
         Component: DynamicPageList
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=6830)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6830)
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


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to