add rate limiting for MediaWiki API requests