Page MenuHomePhabricator

VisualEditor: Do not add size for standard thumbnail images when inserting them
Closed, ResolvedPublic

Description

Wikicode for inserting animage in a standard ways into Wikipedia:

[[File:Name.jpg|thumb|Text]] without any size.

VE adds a fixed size of 225x225px (why these numbers?) to the wikicode which is wrong for most Wikipedias.

The size of a standard thumbnail depends on $wgThumbLimits and $wmgThumbsizeIndex or the size set in the user preference.


Version: unspecified
Severity: normal
URL: https://fr.wikipedia.org/w/index.php?title=Yael_Bartana&diff=94503286&oldid=90892725
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=47804

Details

Reference
bz50379

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:47 AM
bzimport set Reference to bz50379.
  • Bug 50766 has been marked as a duplicate of this bug. ***

Further the manual of style policy on image size http://en.wikipedia.org/wiki/Wikipedia:IMGSIZE#Displayed_image_size
states that most images on the right hand side of the page should be scaled to 220 pixels wide. There need to be a way of specifying a precise numerical size.

(In reply to comment #2)

Further the manual of style policy on image size
http://en.wikipedia.org/wiki/Wikipedia:IMGSIZE#Displayed_image_size
states that most images on the right hand side of the page should be scaled
to 220 pixels wide. There need to be a way of specifying a precise
numerical size.

That will be done as part of bug 38129.

(In reply to comment #2)

Further the manual of style policy on image size
http://en.wikipedia.org/wiki/Wikipedia:IMGSIZE#Displayed_image_size
states that most images on the right hand side of the page should be scaled
to
220 pixels wide. There need to be a way of specifying a precise numerical
size.

No. This is a setting specified in the configuration file. No need to enter a precise numerical value. Per above policy: "In general, do not define the size of an image".

This bug doesn't depend on bug 38129 (and neither does it block it).

I support this bug. Please dont add a size to the image by default. And show the size as tooltip, if user resizes it.