https://bugzilla.wikimedia.org/show_bug.cgi?id=34409

Roan Kattouw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Roan Kattouw <[email protected]> 2012-02-15 20:17:43 
UTC ---
(In reply to comment #1)
> I was able to reproduce this an hour ago, but now I can't.  I suppose it's
> possible someone pushed some code that fixed it.
> 
> Regardless, it seemed to depend on my cookies being cleared.  That is, I could
> only reliably reproduce this bug with a browser that had never heard of
> test2.wikipedia.org.
> 
> The procedure used to be: load Main Page (on test2), clear cookies, type 
> 'wine'
> into search box, error would occur on the Wine article.  If someone can
> reliably reproduce this, let me know and I'll continue to debug.
This is probably caused by the 1.18 dependency map being in the browser cache,
leading to some sort of Frankenstein page where there's 1.19 JS in the HTML of
the page, but the dependency map used to decide if it can be run yet is the old
one from 1.18.

In 1.19, we made mw.user.options depend on mw.user . If the 1.19 dependency map
is loaded in your browser, the loader will behave correctly and defer execution
of mw.user.options until mw.user arrives. But this dependency isn't in the 1.18
map, so if that one is still in your browser cache, the mw.user.options code is
run prematurely and crashes.

You should be able to fix this with a hard refresh. It should also just go away
after 5 minutes, because the dependency map is stored in the startup module
with a cache expiry (both client-side and server-side) of 5 minutes.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to