Last modified: 2011-05-06 06:50:06 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 T30573, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28573 - in printable version centered images are not centered
in printable version centered images are not centered
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.18.x
All All
: Low normal (vote)
: ---
Assigned To: Ryan Kaldari
http://en.wikipedia.org/wiki/?oldid=4...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-16 13:55 UTC by Amir E. Aharoni
Modified: 2011-05-06 06:50 UTC (History)
3 users (show)

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


Attachments

Description Amir E. Aharoni 2011-04-16 13:55:21 UTC
An image inserted as [[File:Example.jpg|thumb|center]] doesn't appear in the center in the printable version (&printable=yes). Images aligned to "right" or "left" work correctly.
Comment 1 jeremyb 2011-04-16 14:42:07 UTC
http://en.wikipedia.org/wiki/?oldid=424368943&useskin=vector
http://en.wikipedia.org/wiki/?oldid=424368943&useskin=vector&printable=yes

There are a few skins that show all images on the left side. None of the skins I tried show the center in the center.

The markup/classes/etc. seems about the same between the 2 pages, this must be a problem with styling. (or with a stylesheet being left out)
Comment 2 Amir E. Aharoni 2011-04-18 12:31:11 UTC
As a temporary workaround i added this to Print.css in he.wp:

div.center {
    text-align: center;
}

It more or less works, but see Bug 28593 .
Comment 3 Ryan Kaldari 2011-04-25 21:38:20 UTC
Fixed in r86904.
Comment 4 p858snake 2011-05-06 06:50:06 UTC
*Bulk BZ change: -bugsmash from closed bugs. (7 Bugs)*

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


Navigation
Links