Topic on Talk:Contributors/Projects/Removal of the 2006 wikitext editor

Cannot get working through personal common.js

6
Billinghurst (talkcontribs)

@Trizek (WMF) I cannot seem to get the js working in my personal common.js at enWS. I have usually just been able to mw.loader.load them, and here I see that I need to mw.loader.using wrap that. I have tried with a combination of variation of dependencies ext.gadget.mediawiki.toolbar though still failing. :-(

And I understand that I have to add my own buttons, I have some of my own config'd buttons already in that same js page. I know that the page is javascript is loading fine as the other components coded are showing in the sidebar. Can you please help? Thanks.

Billinghurst (talkcontribs)

Could someone please point to the old toolbar code with its configuration for buttons, so that the English version can be seen and copied (well, as much copied/re-rendered as it may be).

Billinghurst (talkcontribs)
Trizek (WMF) (talkcontribs)

Hello Billinghurst

I guess you ping me because my username is used in the example?

I'm afraid I can't help, because I'm not a technical person at all. I let @Arkanosis assist you, since he is the creator of the alternative suggested on the page.

Billinghurst (talkcontribs)

Yep, it says "unchanged from Trizek's code". If it isn't your code then some less possessive text may be wiser.

Trizek (WMF) (talkcontribs)

He has copied the personalized code I had with the former editor to show how it should be changed: "Apart from the mw.loader.using bit, this example code has been copied unchanged from Trizek's code."

Reply to "Cannot get working through personal common.js"