A basic Mediawiki api base lib