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

       Web browser: ---
             Bug #: 34852
           Summary: Allow for <gallery> thumbnail links to be overridden
                    and point to both internal and external links.
           Product: MediaWiki
           Version: 1.20-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 10146
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=10146
patch

I have created a patch which adds an optional parameter |link= to the <gallery>
tag.

Here are a couple of examples.

<gallery>
File:20120106_001.jpg|link=[[DisplayLine]]
</gallery>

<gallery>
File:20120106_001.jpg|my caption|alt=my alt
text|link=http://bugzilla.wikimedia.org
</gallery>

this would cause the link on the thumbnails rendered by the gallery tag to link
to a custom page/url instead of the actual media/image.

The patch is fairly small, only touches two files. I would personally have
commited these files to trunk, however i don't have core commit access, and i
figured submitting it as a patch would carry less overhead.

-- 
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