[Mediawiki-l] Best way to access the API internally