Difference between revisions of "Py-3rdparty-mediawiki"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[https://gitter.im/Mediawiki-Japi/community Click here to comment] | [https://gitter.im/Mediawiki-Japi/community Click here to comment] | ||
+ | = Github = | ||
+ | * https://github.com/WolfgangFahl/py-3rdparty-mediawiki | ||
+ | |||
= Prerequisites = | = Prerequisites = | ||
The patch from https://phabricator.wikimedia.org/T248471 is needed. | The patch from https://phabricator.wikimedia.org/T248471 is needed. |
Revision as of 14:40, 27 March 2020
Github
Prerequisites
The patch from https://phabricator.wikimedia.org/T248471 is needed.
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 ...