Last modified: 2010-05-15 15:50:55 UTC
We have a wiki installed on one of our servers (accessible only from PCs on our network), which has been working fine up to today. Are now being presented with the error:
"Internet Exlorer cannot open the Internet site http://lss.leedslearning.net/wiki/index.php/Main_Page
The page opens with no errors in Mozilla Firefox.
Enabled debugging in IE, and the error appears to be thrown in a script apparently being accessed from en.wikipedia.org:
http://en.wikipedia.org/w/index.php at line 1178.
This script is dated yesterday:
"// version info
window.wikEdProgramVersion = '0.9.44'
window.wikEdProgramDate = 'September 23, 2007'"
The description at the top of this script says:
"The program works currently ONLY for Mozilla-based browsers"
Note that this error is occurring on opening the wiki, not just when trying to edit, but does not happen consistently (60%-70% of the time).
Have reproduced this in IE 6.0 and 7.0.
60%-70% of the time was an underestimate.
Windows XP is the OS that the browsers are running on. MediaWiki is running on an Apache server on Linux.
Why is your internal wiki including scripts from en.wikipedia.org?
You should fix that.
Yes, I quite agree. I didn't know it was until these errors started cropping up, and it's certainly not something we manually configured.
I can only find three references to the full url http://en.wikipedia.org/w/index.php in the files on the server:
Two of them are in comments in includes/WebRequest.php and includes/DefaultSettings.php. The other is
mkdir -p testdata && wget _U MediaWiki/test -0 testdata/washington.txt "http://en.wikipedia.org/w/index.php?title=Washington%2C_D.C.&oldid=6370218&action=raw"
I can't find anywhere that this file is being called from, so it is likely that the script is being called in a round-about way. :-(
You want to check your MediaWiki:Monobook.css, Common.css, and user CSS pages, as well as any custom skin.
Thanks for the suggestion.
I can find no reference or link to wikipedia in any css file in the wiki directory, and only four references, all part of comments, in the wiki/skins directory (which contains all the css files):
lss@LSS3:/var/www/html/wiki$ grep "wikipedia" `find . -name "*css"`
lss@LSS3:/var/www/html/wiki$ grep -R "wikipedia" skins/*
skins/Chick.deps.php:// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January
skins/MonoBook.deps.php:// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January
skins/MySkin.deps.php:// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January
skins/Simple.deps.php:// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January
Update this morning:
We are able to access wiki pages in !E 6 and 7. However, errors still being reported from time to time, from the above-mentioned wikipedia. I assume that whatever was done there has now been fixed. If anyone involved in this is reading, I would appreciate some confirmation (next error that I get, I'll check version info on the file).
I'd also appreciate some help with tracking down how (and from where) our page is accessing the file on wikipedia, and how to fix this, as I am not keen that our wiki is at the mercy of changes that are not under our control.
Just realised that we're using 1.10.1, not 1.10.0, if it makes a difference.
The references to en.wikipedia would be in http://lss.leedslearning.net/wiki/index.php/Mediawiki:Common.js or http://lss.leedslearning.net/wiki/index.php/Mediawiki:Monobook.js
No bug activity in several months; I'm going to go ahead and resolve it as INVALID.
If still encountering problems, please check network configurations and reopen bug with details.