You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

User:SRodlund/PAWS (staging)/pagedesign/PAWS and Pywikibot

From Wikitech-static
Jump to navigation Jump to search
Unicorn paw logo.svg

Learn how to use PAWS to run Pywikibot scripts to perform automated tasks on wikis.

PAWS and Pywikibot

Pywikibot is a Python library and collection of tools that automate work on wikis. Originally designed for Wikipedia, it is now used throughout the Wikimedia Foundation's projects and on many other MediaWiki wikis.

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.

What can you do with Pywikibot?

If you want to learn more about wikis you are working with or perform maintenance and tasks that would be difficult to do manualy, Pywikibot can be very useful. Pywikibot is a Python library that enables you to run scripts to automate tasks on your wiki.

Some examples include creating multiple pages at once, adding categories, adding labels in Wikidata, etc.

You can find an extensive list of scripts in the Pywikibot manual.

You may also find it useful to explore some examples of PAWS notebooks that using Pywikibot to gain a better understanding of how it can be used to improve your wiki.