https://bugzilla.wikimedia.org/show_bug.cgi?id=33711
--- Comment #19 from Krinkle <[email protected]> 2012-01-23 22:51:58 UTC --- (In reply to comment #18) > Is this a duplicate of bug 33746? No, the users reporting this bug do have the module loaded. But a certain variable isn't initialized when accessed before the document is ready. (In reply to comment #17) > I think I found a good solution for the problem. I didn't test it, but it > should work and additionally solve several other bugs (bug 30713, bug 33399): > > 1. In mediawiki.util.js create a jQuery.Callback( 'memory' ) a [...] The general concept of these kind of hooks is good, but I'd rather not do it ad hoc inside mw.util. There is is a general bug about the need for this, among the reasons is the ability to have ajax preview represent a normal view by having javascript handlers run on a 'mw.wikipage.onload' hook instead of window.document.ondomready. This is requested in bug 23580 and in bug 23580 comment 13 I had the same idea as you, using jQuery.Callbacks indeed. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
