Last modified: 2012-03-19 19:01:18 UTC
Since Mediawiki has been upgraded to 1.19, my user defined javascript does not more work. I had added some edit buttons that I found very useful. Since Mediawiki has been upgraded to 1.19 they may appear or not and now mostly not. My java console doesn't retrieve any error. http://eo.wikipedia.org/wiki/Uzanto:ArnoLagrange/vector.js '#wpTextbox1' ).wikiEditor( 'addToToolbar' .... Now as before I work in this environment : Project : eo.wikipedia Version : 1.19wmf1 (r113176) OS : Windows XP Browser: Firefox 10.0.2
Please note bugzilla isn't really for end user technical support like this...
Anyway, do *not* use document.write() to include scripts. Try loading them through mw.loader.load().
Resolving INVALID since this is a support request. Try asking here: https://eo.wikipedia.org/wiki/Village_pump
(In reply to comment #1) > Please note bugzilla isn't really for end user technical support like this... Because the bug appeared just after MediaWiki was upgraded, I suppose I'm not the only one user which experiences such things. It's not only an end user problem, but a java script/ mediawiki conflict. (In reply to comment #2) > Anyway, do *not* use document.write() to include scripts. Try loading them > through mw.loader.load(). I replaced all document.write() by mw.loader.load() and didn't notice any change. (In reply to comment #3) > Resolving INVALID since this is a support request. Try asking here: > https://eo.wikipedia.org/wiki/Village_pump As I know, nobody in the Esperanto Wikipedian community is able to resolve such problems.
You can always try the English Wikipedia village pump, you'll definitely get more attention there than here and there are plenty of people there who work with JS.
I guess : some class has been renamed, but I don't know which. My script was based on $j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', ... It worked since february 2011 and did no more since WM upgrading. I didn't make any change to my script. So the problem must be caused by MW. Please, somebody explain what is wrong.
(In reply to comment #5) > You can always try the English Wikipedia village pump, you'll definitely get > more attention there than here and there are plenty of people there who work > with JS. OK Thanks. I will try and I hope somebody can help.
Now the problem is fixed by replacing document.write() by mw.loader.load() with the right syntax. Thanks to all !