sajax_do_call
Fragment of a discussion from Talk:ResourceLoader/JavaScript Deprecations
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?