ferenda.sources.general.MediaWiki – pull in commentary on documents and keywords from a MediaWiki instance

class ferenda.sources.general.MediaWiki(**kwargs)

Downloads content from a Mediawiki system and converts it to annotations on other documents.

For efficient downloads, this docrepo requires that there exists a XML dump (created by dumpBackup.php) of the mediawiki contents that can be fetched over HTTP/HTTPS. Configure the location of this dump using the mediawikiexport parameter:

[mediawiki]
class = ferenda.sources.general.MediaWiki
mediawikiexport = http://localhost/wiki/allpages-dump.xml