PAWS/PAWS examples and recipes

From Wikitech
Jump to navigation Jump to search
PAWS.svg


This page is work in progress and will be developed further.

Overview

This page offers a growing number of recipes, how-tos, and example notebooks that you may find useful while learning and exploring PAWS. This page is not meant to be an exhaustive list. There are many examples of public notebooks available in many places. To see all of the notebooks currently hosted on PAWS, check out the public index.

There is currently no way to search the public index for specific types of notebooks, but it can be useful to explore them to see what others have done with PAWS.

This page is a work in progress, and more will be added over time. If you find a public notebook of interest or a how-to or tutorial you would like to share, feel free to add it here.

How-tos

Mediawiki Rest API

  • Search Wikipedia articles - The MediaWiki REST API lets you build apps and scripts that interact with any MediaWiki-based wiki. In this tutorial, we'll use the REST API search endpoints to search for articles about the Solar System on English Wikipedia.
  • Exploring page history - The MediaWiki REST API lets you build apps and scripts that interact with any MediaWiki-based wiki. In this tutorial, we'll use the REST API page history endpoints to explore the history of articles on English Wikipedia.

Wikidata

Pywikibot

  • Using Pywikbot with PAWS - A basic introduction to using Pywikibot with PAWS. This tutorial gives you the information you need to get started using a Python 3 notebook or the PAWS terminal.
  • An intro to Pywikibot - A notebook based Pywikibot tutorial
  • Pywikibot Tutorials - an index of Pywikibot tutorials related to Wikidata.

Example notebooks

Notebooks that use datasets

Notebooks that use replicas and databases

Notebooks that use multiple Python libraries

Notebooks that use Pywikibot

Understand users and user behavior on a wiki

Make it easier for editors to organize articles and information

Contribute to Wikidata

Notebook based tutorials

Further resources