PAWS/PAWS and Pywikibot
Learn how to use PAWS to run Pywikibot scripts to perform automated tasks on wikis.
Pywikibot is a Python library and collection of tools that automate work on wikis. Originally designed for Wikipedia, Pywikibot is now used throughout the Wikimedia Foundation's projects and on many other MediaWiki wikis.
This page will help you understand what you can do with Pywikibot in PAWS and provides a link to a notebook based tutorial that you can follow to learn how to perform some basic tasks on wikis.
What can you do with Pywikibot?
If you want to perform maintenance and tasks on wikis that would be difficult to do manually or learn more about wikis you are working with, Pywikibot can be very useful to you. Some examples include giving you the ability to create multiple pages at once, add text and categories, add labels to Wikidata, and much more.
Because Pywikibot is very versatile and makes it possible to perform many different types of tasks on wikis, you may find it useful to explore existing notebooks.
- This curated page of example notebooks, how-tos, and recipes provides a diverse selection of notebooks that have been created by PAWS users.
- The public index of all PAWS notebooks is also a good way to see how others are using PAWS. Note: This list is not organized by notebook type, so searching it is truly a matter of exploration.
Notebook based tutorial
PAWS & Pywikibot tutorial - This notebook based tutorial provides information about Pywikibot with PAWS and a walkthrough that will get you started using Pywikibot with Python 3 notebooks and the terminal in PAWS.
Wikidata Pywikibot Tutorial - This handbook is a summary of d:Wikidata:Pywikibot - Python 3 Tutorial with some parts taken to other tutorials. It is built for quick reference. It is recommended you read the tutorials before using it.