Page MenuHomePhabricator

Define max width for the content
Closed, DeclinedPublic

Description

Author: amiadb

Description:
To content is not defined maximum width. I use a 1920 pixel wide screen and it is not convenient for reading the text on Wikipedia.
Typically, Web sites defined with maximum width of 800-1000 pixels.


Version: 1.21.x
Severity: enhancement

Details

Reference
bz43231

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:54 AM
bzimport set Reference to bz43231.
bzimport added a subscriber: Unknown Object (MLST).

Amiad: Thanks a lot for the patch! For future reference, if you follow http://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines there will be an automatic patch notification here. :)

Change 103744 had a related patch set uploaded by TheDJ:
add max-width to vector skin

https://gerrit.wikimedia.org/r/103744

Thanks for your proposal and thanks Hatul for the patch. However, this is a very drastic solution, highly controversial and unlikely to be suitable in MediaWiki core, which needs to adapt to a huge variety of cases. I think the current consensus is that it won't be accepted, so for the sake of clarity I'm marking it as rejected (though the state of things ma change in the future).

Quoting Pau's comment from the patch (Pau is one of MediaWiki's designers):

I agree that line length becomes too long on some big screens and a better use
of space can be done. However, the solution proposed results in a layout with
unbalanced margins, and I'm not sure the width limit introduced will work for
any kind of page.

My preferred way to solve such issues would be to make our layouts responsive
so that we could make the layout to better fit any screen size using empty
space or content ( e.g., adding the table of contents on the side for big
screens so that the article space gets a shorter line length).

And I believe www.mediawiki.org/w/index.php?title=Requests_for_comment/Grid_system is related, for a broader discussion of the issue.

Change 103744 abandoned by Amire80:
add max-width to vector skin

https://gerrit.wikimedia.org/r/103744