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

Marcin Cieślak <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Marcin Cieślak <[email protected]> ---
I understand that one issue is that the preview size of SVG should be ignored
here: 358                     # Generate thumbnails or thumbnail links as
needed...

(from includes/IncludePage.php):
 359                     $otherSizes = array();
 360                     foreach ( $thumbSizes as $size ) {
 361                         if ( $size[0] < $width_orig && $size[1] <
$height_orig
 362                             && $size[0] != $width && $size[1] != $height )
 363                         {
 364                             $sizeLink = $this->makeSizeLink( $params,
$size[0], $size[1] );
 365                             if ( $sizeLink ) {
 366                                 $otherSizes[] = $sizeLink;
 367                             }
 368                         }

so we could remove "less that $width_orig, $height_orig" test here for SVG.

Regarding the list of offered sizes I am not sure but I think it is related to
https://www.mediawiki.org/wiki/Manual:$wgImageLimits and user preferences; this
setting can be tweaked, if necessary.

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