Last modified: 2012-06-11 08:08:47 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 T34229, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32229 - vi.wikipedia.org loads blank screen in firefox
vi.wikipedia.org loads blank screen in firefox
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
Macintosh All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-06 15:17 UTC by Andy S.
Modified: 2012-06-11 08:08 UTC (History)
4 users (show)

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


Attachments

Description Andy S. 2011-11-06 15:17:02 UTC
Sorry if this is in the wrong category. Pages opened on vi.wikipedia.org and vi.wikibooks.org using firefox will flash the page contents momentarily before going to a blank "loading" page.  I have this problem for all pages on the Vietnamese sites.  It's possible that the problem is linked to the VNI/telex input system.  Wikipedia sites in other languages work fine, just the Vietnamese one seems to have this problem.  The pages work fine in other browsers (ie, safari, etc...).  This problem may be on my end, but I've read a few Vietnamese blogs of people having this same problem, so I wanted to share this bug.
Comment 1 Platonides 2011-11-06 15:29:46 UTC
Thanks for your reporting. The pages look fine to me with Firefox 7, but it seems there's something wrong there.

What firefox version are you using? (FF 3?) On which OS?

Does it work if you disable javascript?

Do you see a difference if you use https://vi.wikipedia.org/ instead of http://vi.wikipedia.org/ ?
Comment 2 Liangent 2011-11-06 15:49:26 UTC
What if you disable all extra stuff such as CSS and JS?
Comment 3 Andy S. 2011-11-07 06:31:09 UTC
(In reply to comment #1)

What firefox version are you using? (FF 3?) On which OS?

ff 3.6.23. on ubuntu 10.4

Does it work if you disable javascript?

Yep, good call, it's working when I turn off Java (Open JDK v.6)

Do you see a difference if you use https://vi.wikipedia.org/ instead of
http://vi.wikipedia.org/ ?

No difference if Java is enabled
Comment 4 Andy S. 2011-11-07 06:48:55 UTC
So I tried changing the encoding to Vietnamese and a weird list of commands (press F8, F9, F7 or F12) in the status bar.  When I press any one of the F-buttons, it does nothing but re-organize the order of the four commands.  

Here's the exact readout of my status bar:

Kiểu gõ: Tự động [F9] | Chính tả: Tất [F8] | Bỏ dấu: Mới [F7] | Bật/Tắt [F12] - AVIM
Comment 5 Antoine "hashar" Musso (WMF) 2011-11-10 14:24:49 UTC
I can reproduce this issue with Firefox 3.6.24 under Mac OS X. I am not sure what is happening there, but at some point we are getting redirected to a new page which never loads.

The root cause is the importAVIM.js script (reproduced locally) which use a document.write() calls. Since we have deployed the resource loader, this call cause blank page and should NOT BE USED.

So someone need to fix the [[vi:MediaWiki:ImportAVIM.js]] wiki page and edit the very top script:

if (wgServer != "http://vi.wikipedia.org" && wgServer != "https://secure.wikimedia.org") {
        document.write('<script type="text/javascript" src="'
                + 'http://vi.wikipedia.org/w/index.php?title=MediaWiki:Him.js'
                + '&action=raw&ctype=text/javascript"></' + 'script>');
}

I am not sure that code is really needed. Should just use importScript( 'MediaWiki:Him.js' );


Andy, can you get someone on viwiki to fix the script?
Comment 6 Platonides 2011-11-10 15:39:36 UTC
That's probably for other projects than viwikipedia that wanted to import it (wikibooks?). So they would want importScriptURI, not importScript.
Those comparison stopped working with the https deployment.
Comment 7 Mark A. Hershberger 2012-05-28 17:56:43 UTC
Lowering priority on high priority bugs that have a low severity
Comment 8 Platonides 2012-05-28 20:09:27 UTC
Roan first changed the wgServer comparison in https://vi.wikipedia.org/w/index.php?title=MediaWiki:ImportAVIM.js&diff=5170195&oldid=3996535

Then a bot replaced the document.write with mw.loader.load and made the url relative in https://vi.wikipedia.org/w/index.php?title=MediaWiki:ImportAVIM.js&diff=next&oldid=5211042

Marking as fixed. Hashar, can you please verify?
Comment 9 Antoine "hashar" Musso (WMF) 2012-06-11 08:08:47 UTC
> Marking as fixed. Hashar, can you please verify?

I do not have Firefox 3.6 anymore. I am assuming it really got fixed, will test / debug again if the issue is still appearing on the vi wikipedia.

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


Navigation
Links