Tag: MediaWiki API

Leona Whitcombe

Code Review and Security for Wikipedia Tools and Bots

Learn how to securely manage and audit Wikipedia bots. We cover code review best practices, credential security, and testing strategies to prevent costly errors on live pages.

Leona Whitcombe

EventStreams and RecentChanges Feed for Real-Time Wikipedia Apps

Learn how to choose between EventStreams and RecentChanges for building real-time Wikipedia apps. We compare latency, protocols, and best practices for developers.

Leona Whitcombe

OAuth for Wikipedia Bots: Authentication and Permissions Guide

Learn how to secure Wikipedia bots using OAuth 2.0. This guide covers setup, scope management, token refresh, and best practices for reliable automation.

Leona Whitcombe

Wikimedia Cloud Services for Developers: Toolforge Guide & Infrastructure

Discover how Wikimedia Cloud Services and Toolforge transform bot development. Learn about live database access, automated infrastructure, and best practices for building scalable Wikipedia tools.

Leona Whitcombe

Pywikibot Tutorial: Automate Wikipedia Edits and Maintenance

Learn how to automate Wikipedia edits using Pywikibot. This tutorial covers setup, core concepts, and best practices for running effective bots.

Leona Whitcombe

How to Handle Wikipedia Edit Conflicts Programmatically

Learn how to programmatically resolve Wikipedia edit conflicts using the MediaWiki API, base revisions, and merge strategies to ensure your bots edit safely.

Leona Whitcombe

How to Test Wikipedia Bots in Sandboxes: Best Practices

Learn the best practices for testing Wikipedia bots in sandboxes. Avoid site-wide errors with dry runs, API management, and a structured approval process.

Leona Whitcombe

How to Create a Wikipedia Bot: Requirements and Approval Guide

Learn the technical requirements and official approval process for creating a Wikipedia bot, from using the MediaWiki API to securing the Bot Flag.

Leona Whitcombe

EventStreams and RecentChanges: Real‑Time Wikipedia Data Feeds

Understand the difference between EventStreams and RecentChanges for real-time Wikipedia data. Learn how to implement monitoring bots and analyze edit activity.