[Mediawiki-api] how to use api commands in batch mode ?