Export:
Probably something like api.php?action=query&....&export[&exportnowrap], see http://lists.wikimedia.org/pipermail/mediawiki-api/2009-January/000867.html
Import: action=import&xml=...
Version: 1.14.x
Severity: enhancement