Pywikibot: Difference between revisions

No edit summary
fix up links
Line 1: Line 1:
Pywikibot is short for '''Python MediaWiki Robot Framework'''. Pywikibot is a collection of tools made to fit the maintenance need on Wikipedia, but it can also be used on other MediaWiki sites.  The Pywikibot interfaces with the '[https://www.mediawiki.org/wiki/API:Main_page MediaWiki API]'. There are a number of [https://www.mediawiki.org/wiki/Category:Pywikibot_scripts scripts already written] that you can use or modify to suit your needs.
Pywikibot is short for '''Python MediaWiki Robot Framework'''. Pywikibot is a collection of tools made to fit the maintenance need on Wikipedia, but it can also be used on other MediaWiki sites.  The Pywikibot interfaces with the '[https://www.mediawiki.org/wiki/API:Main_page MediaWiki API]'. There are a number of [https://www.mediawiki.org/wiki/Category:Pywikibot_scripts scripts already written] that you can use or modify to suit your needs.


View the git repository to look at the code.  https://git.wikimedia.org/tree/pywikibot%2Fcore.git and as an example, the
View the [https://git.wikimedia.org/tree/pywikibot%2Fcore.git git repository] (core) to look at the code.  (CF compat if needed).  Here is an example, the
[https://git.wikimedia.org/blob/pywikibot%2Fcore.git/75397bd7ec25bc14d38b727e8c9e90477eda0f22/scripts%2Fbasic.py Basic.py]
[https://git.wikimedia.org/blob/pywikibot%2Fcore.git/75397bd7ec25bc14d38b727e8c9e90477eda0f22/scripts%2Fbasic.py Basic.py]