PAWS/PAWS and Pywikibot: Difference between revisions

From Wikitech
Content deleted Content added
Aklapper (talk | contribs)
Remove a straw half-sentence
Aklapper (talk | contribs)
Use internal link
Line 24: Line 24:


=== Wikidata ===
=== Wikidata ===
[https://public.paws.wmcloud.org//57200278//Handbook%20for%20Pywikibot%20on%20Wikidata.ipynb Wikidata Pywikibot Tutorial] - This handbook is a summary of https://m.wikidata.org/wiki/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.
[https://public.paws.wmcloud.org//57200278//Handbook%20for%20Pywikibot%20on%20Wikidata.ipynb 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.

Revision as of 14:35, 18 October 2021

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

Overview

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.

scripts

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

Notebook based tutorial

General

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

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.