Last modified: 2011-05-15 00:24:08 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 483 - Printed articles should have justified paragraphs by default
Printed articles should have justified paragraphs by default
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 524
  Show dependency treegraph
Reported: 2004-09-14 10:24 UTC by Hemanshu Desai
Modified: 2011-05-15 00:24 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Hemanshu Desai 2004-09-14 10:24:27 UTC
Printed articles should have justified paragraphs by default.
Comment 1 JeLuF 2004-09-14 12:21:31 UTC
Why in print and not on screen?
Comment 2 Hemanshu Desai 2004-09-14 15:48:35 UTC
(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
Comment 3 Brion Vibber 2004-09-19 05:13:27 UTC
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.
Comment 4 Gabriel Wicke 2006-03-24 08:47:21 UTC
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?
Comment 5 Mark A. Hershberger 2011-05-15 00:24:08 UTC
you can add the above css snippet to your user stylesheet

Note You need to log in before you can comment on or make changes to this bug.