Last modified: 2009-08-15 20:28:19 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 5088 - IE copies blue background from "ns-0 ltr"
IE copies blue background from "ns-0 ltr"
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
PC Windows XP
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-02-25 19:34 UTC by Christian Thiele
Modified: 2009-08-15 20:28 UTC (History)
1 user (show)

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


Description Christian Thiele 2006-02-25 19:34:48 UTC
Since the class for the content area for namespace 0 was changed from "ns-0" to "ns-0 ltr", 
there is a new Internet Explorer CSS problem. The background of an article is correctly shown 
white, but if you copy the whole article and for example paste it to word, you get the blue 
background, which is normally only shown on pages not in namespace 0.

The content-id gets this blue background in MediaWiki:Monobook.css (affects at least german and 
english wikipedia) and is then overridden for class "ns-0". Internet Explorer (6 and 7) copies 
it with blue background anyway. I tested it with overriding ".ns-0.ltr #content", but even this 
doesn't work...
Comment 1 Brion Vibber 2006-02-26 04:28:28 UTC
I can't replicate this with either WordPad or OpenOffice 2.0.1
on Windows XP SP 2 with IE 7 beta 2. Might be a MS Word bug,
or some weird misfeature?
Comment 2 Rob Church 2006-02-26 15:36:17 UTC
Able to reproduce using Windows XP SP2, Word 2002. Steps taken:

1. Open
2. Ctrl-A to select all
3. Paste into Word

Page pasted with what looks like a faint blue background. Selected another
background colour for the document, and the discolouration persists, so I guess
this is what you're talking about?
Comment 3 Christian Thiele 2006-02-26 15:52:02 UTC
Yes. It's also when you only select the text of one page. It's the color of ".ns-0 
#content" in MediaWiki:Monobook.css.

I don't really know, how copying and so on in windows works (how the formating is 
preserved when pasting to another application...) and I don't know how to fix it, I only 
reproduced an issue, which was reported to So it's a stupid thing, 
but I thought reporting it here is a good idea.
Comment 4 Antoine "hashar" Musso (WMF) 2006-04-28 17:34:40 UTC
Christian, can you try using wordpad (should be in windows already) and
or in openoffice writer ( , free). That
would help track if its a word bug :)
Comment 5 Brion Vibber 2009-07-20 01:34:59 UTC
Win XP SP 3 + IE 8 + WordPad -> no background

Win XP SP 3 + IE 8 + OpenOffice 3.1 -> no background

I don't have an actual copy of Microsoft Word on hand to test at the moment. Is this a problem that still exists? With what, if any versions of Word/IE?
Comment 6 Christian Thiele 2009-07-20 21:30:31 UTC
I just checked it with IE 8 (running Windows Vista) and Word 2003. It seems to work now. I reported this bug 2006, when IE6 was the current version and I believe, it was a bug in IE - so we shouldn't care and this bug could be closed.
Comment 7 Chad H. 2009-08-15 20:28:19 UTC
Marking WFM. Seems to be an issue with IE6 + Word. Nothing we can really do to help this.

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