use MediaWiki.namespaces() method from simplemediawiki
download images (addresses #6)