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

       Web browser: ---
            Bug ID: 56508
           Summary: Default "Other resolutions" options do not make sense
                    for SVG
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

MediaWiki's default for generating "Other resolutions" options for PNG previews
for SVG files seems to be based on the same logic as for other file formats
(offer small- and medium-resolution versions smaller than the full resolution),
when they can actually be rendered as PNG previews with resolutions much larger
than the original SVG file's resolution. de.wp, en.wp, and Commons already have
JS that under the mostly useless"Other resolutions" line generates a line that
says "This image rendered as PNG in other sizes: 200px, 500px, 1000px, 2000px."
See
https://en.wikipedia.org/wiki/MediaWiki_talk:Common.js/Archive_17#SVG_files:_links_to_rendered_PNG_images

However, since these larger sizes are not offered by default by MediaWiki, it
creates a confusing situation where some projects then have redundant lists of
options offering previews of different resolutions, and all other MediaWiki
projects are stuck with non-ideal "Other resolutions" options.

Compare
https://commons.wikimedia.org/wiki/File:Meuble_h%C3%A9raldique_Crosse.svg
(redundancy) and
https://en.wiktionary.org/wiki/File:Meuble_h%C3%A9raldique_Crosse.svg
(non-ideal options)

This is particularly problematic when the original SVG (as many are) has a
resolution too small for MediaWiki to generate "Other resolutions" options, and
then the user gets no PNG preview options at all.

Compare https://commons.wikimedia.org/wiki/File:Svg_example1.svg and
https://en.wiktionary.org/wiki/File:Svg_example1.svg (nothing)

Ideally, SVG images should give PNG preview options like "200px, 500px, 1000px,
2000px" by default, even for very small SVG originals.

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