Page MenuHomePhabricator

VisualEditor: Cannot resize frame image in MediaWiki, but can in VisualEditor(?)
Closed, ResolvedPublic


Author: vojtech.dostal

A student of Education program at Czech Wikipedia noticed that she cannot resize an image which is inserted as a frame. It is well possible to adjust the size in the preview mode, but saving it does not produce appropriately resized image frame.

see image under heading "Půdorys" at:

Thank you
Vojtěch Dostál

Version: unspecified
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:10 AM
bzimport set Reference to bz66353.

Thanks for this bug; it seems like a regression(?!) in MediaWiki. Moriel, can you confirm?

Yes, after a bit of analysis, I believe there's a problem with the way the scalable object analyzes default vs custom values. I'm working on refactoring the way that works; we have a tech debt about this, too, I believe.

Change 138388 had a related patch set uploaded by Mooeypoo:
Disable the size widget for 'frame' images

Scratch my last remark. There is still a technical debt (that is being taken care of) about default vs. custom size but the issue in this case is that we don't follow the wikitext rules properly.

Frame images ignore size specification.
See wikitext documentation here:

Change 138388 merged by jenkins-bot:
Disable the size widget for 'frame' images