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

             Bug #: 28491
           Summary: make file extension for external images configurable
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


currently, the file extensions that cause an external link to be rendered as an
image if $wgAllowExternalImages is true is hardcoded in
Parser::EXT_IMAGE_REGEX. It would be much nicer if it was derived from
$wgFileExtensions. Not all allowed file extensions are images, but the ones
that are can be identified using MimeMagic::guessTypesForExtension($mime) and
MimeMagic::findMediaType($mime).

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