Page MenuHomePhabricator

Pictures and boxes aren't displayed with IE6 on de-wiki article pages
Closed, InvalidPublic

Description

Author: asafyhkk

Description:
Applies to article pages of German Wikipedia only
Applies to IE6 only

Pictures and boxes aren't displayed with IE6 on de-wiki, as can be seen on the attached screenshots:
No. 1 + 2: First two pages of "http://de.wikipedia.org/wiki/Fußball-Weltmeisterschaft_2014"
No. 3: First page of "http://de.wikipedia.org/wiki/Fußball"

There's a discussion going on on "http://de.wikipedia.org/wiki/Wikipedia:Technik/Werkstatt#Bilder_werden_im_IE_6_nicht_angezeigt", describing the non-standard hasLayout property of WinIE6 as possible reason.

Although IE6 is not broadly used anymore, the reintroduction of the IE6 workaround would make the remaining IE6 users happy :)


Version: 1.24rc
Severity: normal
URL: https://de.wikipedia.org/wiki/Fußball-Weltmeisterschaft_2014

Details

Reference
bz66008

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:22 AM
bzimport set Reference to bz66008.
bzimport added a subscriber: Unknown Object (MLST).

asafyhkk wrote:

Screenshots of example pages

Attached:

Can this issue be reproduced on any other wiki? Maybe it's actually caused by some site CSS de.wp adds?

If it's reproducible elsewhere, we can easily revert that patch if it's actually the cause.

When this problem only occurs in IE6 the workaround can restricted to IE6 with the Star-HTML-Hack [1]:

/* hasLayout trigger for IE6 to prevent rendering problems with floating objects (bug 66008) */

  • html .mw-body-content {

width: 100%;
}

[1]: http://www.css-hack.de/Internet+Explorer/IE+6

If i read the Wikipedia:Technik Page correct, the problem is only on dewiki (@asafyhkk@objectmail.com: Please correct me, if i'm false :)). My prefered solution is: instead to add this IE6 line again to core css, dewiki can add this line to MediaWiki:Common.css or MediaWiki:Vector.css.

It's because german wikipedia resets the position property. We used to have this in the default vector skin (because monobook had it and not having it broke all top icons).

Since then the topicons in use on English Wikipedia had been rewritten and were no longer depending on this. At some time, we finally removed that position of the Vector skin, probably breaking all the german top icons. That probably led to the addition of [https://de.wikipedia.org/w/index.php?title=MediaWiki:Vector.css&diff=121686451&oldid=118772287 the static position] locally to the German Wikipedia.

Now the 100% property was removed, because it was no longer necessary, and that broke the local workaround.

asafyhkk wrote:

@Florian:
You're right, it applies only to de-wiki, and there only to article pages. It doesn't apply to pages describing pictures, and it doesn't apply to any other language article pages I tested (I opened randomly 20 - 30 other languges of the same lemma).

Ok, so maybe a problem with custom css, you can work on that on Technik-page? So it isn't a really problem of MediaWiiki :)