Page MenuHomePhabricator

Printed articles should have justified paragraphs by default
Closed, DeclinedPublic

Description

Author: hemanshu_desai

Description:
Printed articles should have justified paragraphs by default.


Version: unspecified
Severity: enhancement

Details

Reference
bz483

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 6:56 PM
bzimport set Reference to bz483.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Why in print and not on screen?

hemanshu_desai wrote:

(In reply to comment #1)

Why in print and not on screen?

on screen, it's a preference, but the print preference is not that obvious.
Unjustified text looks unprofessional in print. Ofcourse, this is a Wikipedia
issue rather than a MediaWiki issue

This would neatly work around bug 524, however I'm not sure it's a good idea.

My main concern is that justified text looks *really bad* when it includes long words (or worse, URLs). Browsers aren't generally smart
enough to hyphenate, and the resulting huge spaces look, to my eye, much less professional than ragged-right text with normal
word spacing.

This snippet in your user stylesheet should do what you are looking for:

@media print {

#content { 
    text-align: justify; 
}

}

If users who choose 'justify' in their prefs usually want to print justified as
well it's fairly easy to add the snippet above to the css this pref generates.
Can you check if this justifies things properly?

you can add the above css snippet to your user stylesheet