Steps to replicate the issue (include links if applicable):
- Go to this page
- Open the page in the old (2010) wikitext editor
- Don't edit anything, just preview the page
What happens?:
The content area is narrower than in the viewing mode. This impacts what the content looks like. For instance, the images in the gallery appear in a sequence 1-1-2, while in the viewing mode, it's 1-2-1.
I've tried to replicate this on Russian Wikipedia - with the same result. The content area was narrower in the preview.
View (reading) | Preview |
---|---|
What should have happened instead?:
The content area width should be the same as in the viewing mode
Other information (browser name/version, screenshots, etc.): Firefox 102
Developer notes
Looks like the rule in https://gerrit.wikimedia.org/g/mediawiki/skins/Vector/+/1a2b6d59a547ce0c395f28226bdd85539396b33a/skinStyles/mediawiki.action.edit.less#4 needs updating
Article is currently rendering at 944px, not 840px.
This rule does look like a bit of a hack, but there is no way to programmatically switch a page from having a max-width applied to not having a max-width applied.