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

           Summary: Add configuration option to mask file extensions for
                    image description pages
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Currently image description pages have URLs that end in the same extension as
the file they are referencing.  Unfortunately it is not uncommon for search
engines and other utilities to assume that any URL ending in ".jpg", ".png",
etc. is an image file rather than a content page.  Much as it would be nice if
everyone checked content-type declarations there are many practical examples
where this is not done.

I would propose the creation of a configuration option to allow image
description pages to mask these extensions in their url.  That would allows
sites that are concerned about type confusion to get around the problem.

For example, one could automatically convert ".jpg" to "_jpg" (or some other
similar translation scheme) at the end of the image description page link. 
Alternatively one could append ".htm" to the end of the link or simply strip
the extension entirely (though this latter option means dealing with naming
collisions).


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