Topic on Talk:ResourceLoader

After an edit without my magic word, my script JS disappears

2
Karima Rafes (talkcontribs)

Hi

I'm developing an extension with ResourceLoader. I load the script JS in the render of my magic word.

It works but when I change a page in my Wiki without my magic word, ResourceLoader forget my script JS. I have to purge the page with my magic word to see my script in ResourceLoader.

Have I forgotten something ? The "$wgOut->addModules(" is not in the good function ?

Thanks

This post was hidden by Glaisher (history)
Reply to "After an edit without my magic word, my script JS disappears"