Jump to content

Topic on Talk:ResourceLoader/Legacy JavaScript

Nx (talkcontribs)

Is there a replacement for sajax_do_call? I couldn't find one in MW1.17

Krinkle (talkcontribs)
Nx (talkcontribs)

Yeah, I know that. The problem is that sajax_do_call is a MW specific wrapper, not just a simple ajax call, you have to call index.php with action=ajax with rs=FunctionName and rsargs[]=arguments. This is more complicated than sajax_do_call, and this information is hidden in a footnote on Manual:Parameters to index.php

Edit: Ok, it can be found on Manual:Ajax too. Anyway, I've added an example to this page, is that ok?