Last modified: 2013-03-18 17:31:04 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 T7207, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5207 - Top-right links appear at top-left in IE 7.0.5331.0
Top-right links appear at top-left in IE 7.0.5331.0
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.8.x
PC Windows XP
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-08 20:47 UTC by Derrick Coetzee
Modified: 2013-03-18 17:31 UTC (History)
3 users (show)

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


Attachments
A screenshot of the issue described (49.14 KB, image/x-png)
2006-03-08 20:49 UTC, Derrick Coetzee
Details

Description Derrick Coetzee 2006-03-08 20:47:17 UTC
The latest internal release of IE, version 7.0.5331.0, has an issue with MediaWiki 1.5.7 where the 
links user, user talk, etc. that normally appear in the top right are in the top left. This is both 
ugly and extrememly annoying, because if you try to click on them, you'll click on the logo instead 
and go to the home page. This release of IE is not public, but I'll try to attach a screenshot and 
will be happy to evaluate any potential solution for developers on my own MediaWiki server. The 
problem reproduces on my wiki (a slightly modified 1.5.7 at literateprograms.org) but not on 
Wikipedia.
Comment 1 Derrick Coetzee 2006-03-08 20:49:23 UTC
Created attachment 1446 [details]
A screenshot of the issue described
Comment 2 Derrick Coetzee 2006-03-08 20:50:07 UTC
Note that this may be an IE7 issue rather than a MediaWiki issue. I'll pass it on to the IE 
team if you think it's an IE7 issue.
Comment 3 Brion Vibber 2006-03-08 23:56:28 UTC
No problems with 7.0.5296.0. A regression could be either due to bugs in IE,
bugs in our workarounds for IE bugs exposed by new changes, etc.

Is this available in the latest Vista beta build, or is it really internal-only?
I've had huge troubles getting Vista working in VMWare (if it installs, usually
there's no networking...)

Note: we've done more extensive changes to the IE bug workarounds in MediaWiki 1.6,
fixing lots of problems primarily with right-to-left languages. This might change
behavior for LTR as well. You can test this at our own sites (eg,
http://en.wikipedia.org and friends) or install a local copy from CVS.
Comment 4 Derrick Coetzee 2006-03-09 00:17:45 UTC
The issue doesn't repro on English Wikipedia. I'm guessing some change in 1.6 fixed it. I'll 
try some selective merging and see if I can confirm this.
Comment 5 Derrick Coetzee 2006-03-09 05:03:57 UTC
I did the following and this issue went away.

1. Replace these 2 lines in MediaWiki 1.5.7's skins/MonoBook.php:

    <!--[if gte IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php 
$this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
    <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text
('stylepath') ?>/common/IEFixes.js"></script>

with these 2 lines from the current build:

    <!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php 
$this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
    <!--[if IE 7]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php 
$this->text('stylename') ?>/IE70Fixes.css?1";</style><![endif]-->

2. Copy in the file skins/monobook/IE70Fixes.css from the current build.

At least for MonoBook, this made the links appear in the correct place again.
Comment 6 pasixxxx 2006-10-08 14:43:09 UTC
Currently the latest IE7 version is 7.0.5700.6IS (=Release Candidate 1). 

In the Wikipedia's current version of Mediawiki, IE70Fixes.css has a line that sets the height of content 
(div that has id="content")  to 1%. It fixes some problems with links I'm not sure... 


Is this fix any longer valid?
Comment 7 Jimmy Collins 2006-10-08 15:33:36 UTC
I don't have problems with 7.0.5600.16384 (in Vista RC1).
Comment 8 Jon 2007-01-23 17:56:56 UTC
I have this problem in 1.8 with 7.0.5730.11
script output has the IE70Fixes.css commented out (maybe that's the way it's supposed to work(?)- like 
this:

<link title="Creative Commons" type="application/rdf+xml" href="/wiki/index.php?
title=Category:Standards&amp;action=creativecommons" rel="meta" />
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
		<title>Category:Standards - HelpNET</title>
		<style type="text/css" media="screen,projection">/*<![CDATA[*/ 
@import "/wiki/skins/monobook/main.css?42"; /*]]>*/</style>
		<link rel="stylesheet" type="text/css" media="print" 
href="/wiki/skins/common/commonPrint.css?42" />
		<link rel="stylesheet" type="text/css" media="handheld" 
href="/wiki/skins/monobook/handheld.css?42" />
		<!--[if lt IE 5.5000]><style type="text/css">@import "/wiki/skins/monobook/IE50Fixes.css?
42";</style><![endif]-->
		<!--[if IE 5.5000]><style type="text/css">@import "/wiki/skins/monobook/IE55Fixes.css?
42";</style><![endif]-->
		<!--[if IE 6]><style type="text/css">@import "/wiki/skins/monobook/IE60Fixes.css?
42";</style><![endif]-->
		<!--[if IE 7]><style type="text/css">@import "/wiki/skins/monobook/IE70Fixes.css?
42";</style><![endif]-->
		<!--[if lt IE 7]><script type="text/javascript" src="/wiki/skins/common/IEFixes.js?
42"></script>
		<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
		
		<script type= "text/javascript">/*<![CDATA[*/
Comment 9 Platonides 2008-09-07 21:15:13 UTC
It is supposed to work that way. IE detects that it's a conditional comment and renders the content if the condition matches, while it's still a comment for the other browsers. See http://msdn.microsoft.com/en-us/library/ms537512.aspx
Comment 10 Andre Klapper 2013-03-14 16:26:31 UTC
Derrick / Jon: Is this still an issue, or is this long gone and this report can be closed as obsolete (RESOLVED WORKSFORME)?
Comment 11 Derrick Coetzee 2013-03-18 16:58:13 UTC
I no longer have access to the stated version of IE and it may have never been released at all.
Comment 12 Andre Klapper 2013-03-18 17:31:04 UTC
Sure. Thanks for the feedback!

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


Navigation
Links