Last modified: 2014-02-22 02:24:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T30593, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28593 - "justify paragraphs" preference is applied too strongly
"justify paragraphs" preference is applied too strongly
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 31990 52810
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-18 12:01 UTC by Amir E. Aharoni
Modified: 2014-02-22 02:24 UTC (History)
3 users (show)

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


Attachments

Description Amir E. Aharoni 2011-04-18 12:01:15 UTC
(I'm sorry if this is not formulated very precisely.)

As a temporary workaround to Bug 28573 i added this to Print.css in he.wp:

div.center {
    text-align: center;
}

This works, but only if the "justify paragraphs" option is disabled in the preferences. If it is enabled, the image is still aligned to the right, because the justify paragraphs takes over the definition in Print.css. This is the default, so it probably doesn't affect most users, but still should be fixed.

There's also another possibility - that i should have added something else to Print.css.
Comment 1 Bawolff (Brian Wolff) 2011-04-20 22:34:27 UTC
I'm unclear on what you want changed. The justify preference just adds the rule:

#article, #bodyContent, #mw_content { text-align: justify; }

So it shouldn't override your rule.


Related justify bugs - bug 20184
Comment 2 Amir E. Aharoni 2011-04-23 20:24:26 UTC
Maybe it shouldn't, but it seems to override it.

Here's a test page:

regular: http://he.wikipedia.org/wiki/User:Amire80/test_centered_image

printable: http://he.wikipedia.org/wiki/User:Amire80/test_centered_image&printable=yes

Notice the content of http://he.wikipedia.org/wiki/MediaWiki:Print.css
Comment 3 Bawolff (Brian Wolff) 2011-04-23 22:41:31 UTC
The image is not centered in printable version for me - with or without justify paragraphs option on
Comment 4 MZMcBride 2013-10-13 18:25:48 UTC
Amir: thoughts on removing the user preference altogether (bug 52810)?
Comment 5 Bartosz Dziewoński 2014-02-22 02:24:01 UTC
The preference was just recently removed (bug 52810), I guess that makes this a WONTFIX.

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


Navigation
Links