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 examples and recipes

From Wikitech-static
< User:SRodlund‎ | PAWS (staging)‎ | pagedesign
Revision as of 18:37, 25 September 2020 by imported>SRodlund (→‎Recipes, how-tos, and example notebooks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Unicorn paw logo.svg


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

Recipes, how-tos, and example notebooks

This page offers a number of recipes, how-tos, and example notebooks that you may find useful while learning and exploring PAWS. To see all of the notebooks currently hosted on PAWS, check out the public index.

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

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