Manual:Pywikibot/xmlreader.py

xmlreader.py is an XML reading module. Each XmlEntry object represents a page, as read from an XML source. The XmlDump class reads a pages_current XML dump (like the ones offered on https://dumps.wikimedia.org/backup-index.html) and offers a generator over XmlEntry objects which can be used by other bots.

External link

 * https://phabricator.wikimedia.org/diffusion/PWBC/browse/master/pywikibot/xmlreader.py