mediawiki-request implementation