Py-3rdparty-mediawiki

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search

Click here to comment

Github

Prerequisites

You might want to prepare some credential ini files with the Mediawiki-Japi CommandLine.

Features

Py-3rdparty-mediawiki allows using pywikibot by simply giving each wiki a id and using the credential information created by MediaWiki-Japi. If you'd like to get a pure python solution for credential handling please file an issue on github - it's no big deal but i personally don't need it yet since i'm fine with the new CommandLine feature added recently.

Example

from wikibot.wikibot import WikiBot
wikibot=WikiBot.ofWikiId("test2")
wikibot.site ...