Manual:Pywikibot/xmlreader.py

From mediawiki.org
This page is a translated version of the page Manual:Pywikibot/xmlreader.py and the translation is 50% complete.

xmlreader.py は XML ダンプを読み取るために使用される Pywikibot モジュールです。

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.