Last modified: 2012-01-28 15:54:44 UTC
When I tried to test a patch for bug 33711 I ran into strange problems which I could solve only by disabling the edit toolbar. Some callback functions hooked on jQuery.ready were not executed. Now after looking into the source code of mediawiki.action.edit.js I think the problem could originate there: The code tries to get $( '#wpTextbox1' ), $( '#toolbar' ) and $( '#wpSummary' ) right at the beginning, though it should wait for jQuery.ready before doing so. I don't know if this caused my problems, but fixing it is a good idea anyway.
Whoever fix this may have interest in helping fixing bug 31511. Check out the small test case provided on bug 31511 comment 17.
Created attachment 9903 [details] Proposed patch The main problem was the fact that in my installation I have $wgIncludeLegacyJavaScript = false, so mwCustomEditButtons was undefined, which caused the error. By the way: Why is scrollEditBox a named function?
There's a lot of small and big issues with module, marking as duplicate of bug 33952 which will cover this problem. Thanks! *** This bug has been marked as a duplicate of bug 33952 ***