Last modified: 2013-10-16 14:16:48 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 4439 - Centering images using [[image:foo|center]] breaks some table layouts in internet explorer
Centering images using [[image:foo|center]] breaks some table layouts in inte...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.6.x
PC Windows XP
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikinews.org/w/index.php?ti...
:
: 15039 17277 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-01 05:59 UTC by Bawolff (Brian Wolff)
Modified: 2013-10-16 14:16 UTC (History)
4 users (show)

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


Attachments
Good version where it worked like it should (186.91 KB, image/png)
2006-01-06 01:11 UTC, Bawolff (Brian Wolff)
Details
Bad version. where everything colides (203.28 KB, image/png)
2006-01-06 01:12 UTC, Bawolff (Brian Wolff)
Details
The "bad version" on IE 6, Win XP SP3, in 2012 – looks funny, but okay (321.95 KB, image/png)
2012-10-21 12:30 UTC, Bartosz Dziewoński
Details
The "bad version" on IE 6, Win XP SP3, in 2012 – low res – still okay (213.80 KB, image/png)
2012-10-21 12:32 UTC, Bartosz Dziewoński
Details

Description Bawolff (Brian Wolff) 2006-01-01 05:59:48 UTC
I'm putting as all OS's since its an internet explorer bug and IE is present on
all windows and a couple other OSs. I'm assuming this is 1.6-cvs since
[[n:special:version]] says 1.6devel. This is my first bug report, so I hope I
didn't fill this out wrong.

When I inserted a centered picture into a table cell on wikinews (en) (via
[[Image:Telephone-modele-W48.jpg|center|65px|Phone-us Please]]. well actually
via a template that had the image link in there, but you get the point) It
caused all of the left sided table row to run-into the right sided table row.
This happens in both Monobook skin and cologne blue skin(more noticable in
monobook. however the search bar on Cologne seems to have a similiar issue in
IE) on internet explorer(6 sp2). it does not happen on firefox (tested 1.5).

I fixed the problem by just using <center> to center the image.

See:
http://en.wikinews.org/w/index.php?title=Main_Page&oldid=184205 - revision of
main page where it happened
http://en.wikinews.org/wiki/Template:FrontPageHotlineMenu - template transcluded
that caused it. this was the revision used. Currently don't use the template for
anything.


This bug was not found by me, but [[Wikinews:User:BrianNewZealand]] as I don't
generally use internet explorer.

The only thing that i could think that might possibly cause it is 
/* emulate center */
.center {
    width: 100%;
    text-align: center;
}
*.center * {
    margin-left: auto;
    margin-right: auto;
}

from http://en.wikinews.org/skins-1.5/common/common.css?1 as i've heard of
internet explorer going strange with widths for no apearent reason.  This is all
the info I could think to include in here. if anything else is needed let me know.

[[n:user:bawolff]]
Comment 1 Bawolff (Brian Wolff) 2006-01-01 06:02:03 UTC
By the way I'm using Windows XP SP2 In case you didn't geuss already. 
Comment 2 Rob Church 2006-01-01 16:02:40 UTC
Changing to Windows XP, even thought it might cover more than one version of
Windows. You can't call this an "all OS" problem if it affects one browser. It
might not even affect IE for the Mac.
Comment 3 Bawolff (Brian Wolff) 2006-01-01 21:25:51 UTC
Ok that makes sense. Sorry about that, This is my first time reporting a bug.
Comment 4 Brion Vibber 2006-01-03 22:36:29 UTC
Even in the previous revision, the images and some text in the right 
column spill over the edge. Can you check that this table is correctly 
laid out?
Comment 5 Bawolff (Brian Wolff) 2006-01-06 01:11:46 UTC
Created attachment 1264 [details]
Good version where it worked like it should

This is the good version, which is directly before the bad one. using IE tab in
firefox
Comment 6 Bawolff (Brian Wolff) 2006-01-06 01:12:57 UTC
Created attachment 1265 [details]
Bad version. where everything colides

Bad version where everything collides (using IE tab in firefox)
Comment 7 Bawolff (Brian Wolff) 2006-01-06 01:14:30 UTC
Not for me. one wroks perfectly fine and the other one colides everywhere.
Screenshot included. (using IE tab in firefox). Note: I didn't check table
validity because I don't understand wiki table markup (sorry only html <table>
markup).
Comment 8 lɛʁi לערי ריינהארט 2006-01-19 23:52:08 UTC
Tryed to reproduce this at
http://en.wikinews.org/wiki/User:Gangleri/tests/bugzilla/04439

Please read comments at
Bug 4677: Provide a magic word __NOCITE__ ; disable the "cite" links at redirects

best regards reinhardt [[user:gangleri]]
Comment 9 Bawolff (Brian Wolff) 2006-01-20 23:58:53 UTC
You said it was hard to replicate because the templates changed, in a comment on
Bug 4677. For me the historical revission still has the table issue 
Comment 10 lɛʁi לערי ריינהארט 2006-01-22 00:14:00 UTC
(In reply to comment #9)
> You said it was hard to replicate because the templates changed, in a comment on
> Bug 4677. For me the historical revission still has the table issue 

Sorry Bawolff! I made all that work in Firefox. No chance there to reproduce the
problem. Can *confirm* that the error exists in IE at the original url
http://en.wikinews.org/w/index.php?title=Main_Page&oldid=184205 which shows now
another content the attachement 1265.

http://en.wikinews.org/w/index.php?title=Main_Page&diff=195367&oldid=184205
is a diff between the bogus version of Main Page and the actual one.

*note*
Please note that the diff in "reversed" order (values for diff and oldid are
reversed) where the old revision renders at the bottom
http://en.wikinews.org/w/index.php?title=Main_Page&diff=184205&oldid=195367
shows the same rendering problem in IE as your original url
http://en.wikinews.org/w/index.php?title=Main_Page&oldid=184205
and includes also the diffs.

The problem is reduced now to the difference of the
[[s:template:FrontPageHotlineMenu]] and the substitution at the [[s:Main_page]].
This is simulated at
http://en.wikinews.org/w/index.php?title=Template%3AFrontPageHotlineMenu&diff=196586&oldid=184206

*localized the bug*
http://en.wikinews.org/w/index.php?title=User%3AGangleri%2Ftests%2FMain_Page&diff=196607&oldid=196598

It seams that "|center" in
Image:Telephone-modele-W48.jpg|center|65px|Phone-us Please
is the problem for the original problem.

Best regards reinhardt [[user:gangleri]]
Comment 11 Chad H. 2009-08-17 22:35:14 UTC
*** Bug 15039 has been marked as a duplicate of this bug. ***
Comment 12 Chad H. 2009-08-17 22:36:00 UTC
*** Bug 17277 has been marked as a duplicate of this bug. ***
Comment 13 Thehelpfulone 2012-05-07 10:33:09 UTC
Over 2 years since this was reported - is this still a problem? I don't have XP anymore so can't test it.
Comment 14 Bartosz Dziewoński 2012-10-21 12:30:18 UTC
Created attachment 11215 [details]
The "bad version" on IE 6, Win XP SP3, in 2012 – looks funny, but okay

I've just looked at the original revision[1] on IE 6 (installed via Multiple IEs) on Windows XP SP3, as an anonymous user.

Looks slightly funny, but mostly okay; I don't see the issue.

Can this be closed now?

[1] http://en.wikinews.org/w/index.php?title=Main_Page&oldid=184205
Comment 15 Bartosz Dziewoński 2012-10-21 12:32:12 UTC
Created attachment 11216 [details]
The "bad version" on IE 6, Win XP SP3, in 2012 – low res – still okay

And here's the same on a lower resolution (the smallest one that gives no horizontal scrollbar). There is some overlap, but it's maybe 10 pixels, I don't think it's worth debugging, given it's IE 6.
Comment 16 Bartosz Dziewoński 2012-10-21 12:33:56 UTC
(Ah, it looks about the same on Monobook as on Vector – a tiny overlap.)
Comment 17 Bartosz Dziewoński 2013-10-16 14:16:48 UTC
WONTFIXing per above.

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


Navigation
Links