Jump to content

2024:Use of Pywikibot in Wikipedia and Wikisource

From Wikimedia United Arab Emirates

Session Details

Session Type
Lighting Talks
Speakers
Akbar Ali
Original Language
English

Description

"This presentation aims to provide an in-depth introduction to Pywikibot, a powerful Python library and collection of scripts designed to automate tasks on MediaWiki sites, including Wikipedia and Wikisource. The session will cover the following key areas:

1. Introduction to Pywikibot: Overview of Pywikibot and its capabilities. Installation and configuration steps.


2. Adding Content Using Pywikibot: Step-by-step guide on how to add new content to Wikipedia and Wikisource using Pywikibot scripts. Demonstration of script execution and content verification. Adding Categories Using Pywikibot: Replacing Content with Pywikibot: Techniques for finding and replacing text across multiple pages. Practical examples of content replacement to maintain consistency and accuracy. Adding Page Numbers in Wikisource Pages: Detailed process of adding page numbers to Wikisource documents.

By the end of this presentation, participants will have a basic understanding of how to leverage Pywikibot to streamline their contributions to Wikipedia and Wikisource, enhancing both the efficiency and quality of their work."