This is a list of the existing bots with links to their descriptions. This list might be incomplete. For the complete list refer to the Script Package documentation. Many of the red linked scripts with no pages are still found in the Pywikibot scripts/ folder. Scripts can be run in command line using the following pattern:

$ python [global options] script_name [parameters]

For more information on running scripts, see Manual:Pywikibot/Workshop Materials/How to run basic scripts (self-study) and the related Small wiki toolkits workshop.

Global bot scripts[edit]

Editing scripts you are allowed to run on several wikis with a global bot flag.

Name Description Code Creates or modifies Interlanguage links between projects core Fixes double redirects, and deletes broken redirects core

Main bot scripts[edit]

Name Description Code Adds text at the top or end of pages core Manages categories core Edits using text replacement core Fixes disambiguation pages core Uploads images to a wiki core Finds broken external links core

Auxiliary programs[edit]

Name Description Code This bot cleans a sandbox by replacing the current contents with predefined text core Makes the wiki source code look cleaner, invoked by other scripts core A script that transfers pages from a source wiki to a target wiki core

Other bot scripts[edit]

Name Description Code Used to welcome new users core


Name Description Code Deletes any protection templates that are on pages which aren't actually protected core Deletes pages en masse core This script obtains a list of recent changes and new pages and marks the edits as patrolled based on a whitelist core Protect and unprotect pages en masse core

Change general pages[edit]

Name Description Code Archives discussion threads core Moves page to another title core Creates pages from a text file core


Name Description Code Redirects pages etc. from one category to another core Adds {{commonscat}} to Wikipedia categories (or articles), if other language Wikipedia already has such template core


Name Description Code Copies images to another wiki core Used to change one image to another or remove an image entirely core Finds unused media using Special:Unusedimages core


Name Description Code Replaces one template with another, in a way that is easier to use than in most instances core Counts or lists the instances where templates are used core


Name Description Code A script to mass add Wikidata claims to a lot of items based on pages on Wikipedia core A script to mass import coordinates from Wikipedia to Wikidata core A script to mass add Wikidata claims based on information harvested from Wikipedia templates core A script to add images to Wikidata items core A script to handle interwiki links: connect pages to Wikidata items using language links on the page core A script to mass create new Wikidata items core

Unsorted scripts[edit]

Name Description Code Script to check recently uploaded files. This script checks if a file description is present and if there are other problems in the image's description core core Extracts OCR text from djvu files and uploads onto pages in the "Page" namespace on Wikisource core Correct all redirect links in featured pages or only one page of each wiki core A TKinter window with a Unicode text field where the user can e.g. edit the contents of an article core core Script to match two images based on histograms compattask This script fixes links that contain common spelling mistakes core Adds missing ‎<references /> tag and references section if needed core Script to delete files that are also present on Wikimedia Commons core This script helps to find expensive templates that are subject to be converted to Lua core A bot adding the title of linked web pages to bare external links; see w:User:DumZiBoT/refLinks by the original owner, cf. Archived Pages core This bot replicates all pages (from specific namespaces) in a wiki to a second wiki within one family core Revert your bots recent edits to pages core core Access the bot account's Watchlist core

Non editing scripts[edit]

Scripts which do not change wiki pages. These are allowed to run on virtually all wikis.

Name Description Code Used to list pages using pagegenerators core Used to log in (and log out) core Touch/purge a page in order to refresh relations without waiting for the queue core

Maintenance scripts[edit]

Helper scripts for maintenance and conversion scripts

Name Description Code Show and cleanup API cache folder core Show colored output of Pywikibot scripts core Helper script to convert compat 1.0 scripts to the new core 3+ framework core Download Wikimedia dump file from core Generate a i18n file from a given script core Updates the language lists in Wikimedia family files core

Other scripts[edit]

Mostly internal scripts. No normal bots.

Name Description Code This is not a complete bot; rather, it is a template from which simple bots can be made core This script generates a family file from a given URL core Script to create user files ( , ) core Wrapper script to use framework in 'directory' mode as cronjob or wrapper script core Installer script for Pywikibot 3+ framework core Spawns an interactive Python shell core Outputs Pywikibot's revision number and Python's version core

Outdated compat scripts[edit]

This list contains outdated scripts from compat banch which aren’t supported any longer. They are either archived or deleted. Feel free to reactivate any script at any time by creating a Phabricator task: Phabricator Task

Name Description Code A wiki-maintainer script that shares tasks between workers, requires no intervention. Uses the irclib, you can download it on GitHub. compattask The controller bot for . compattask A IRC script to check for Recent Changes through IRC, and to check for interwikis in those recently modified articles. Can not be run manually/directly, but is run automatically by Uses the irclib, you can download it on GitHub. compattask Goes through pages for speedy deletion, shows their content, and asks for each page whether it should be deleted core Script to follow new articles on a Wikipedia and tag them with a template or perform other actions compattask A generic bot to do data ingestion (batch uploading) to Commons compattask Program to add uncat template to images without categories at Commons compattask Bot to create capitalized redirects where the first character of the first word is uppercase and the remaining characters and words are lowercase compattask Script to enumerate all pages on the wiki and find all titles with mixed latin and cyrilic alphabets compattask Adds or changes categories compattask Adds {{commonscat}} and {{commons}} to Wikipedia articles, if same name category or gallery exist on Commons compattask Program to batch create categories compattask Goes through the disambiguation pages, checks their links, and asks for each link that goes to a redirect page whether it should be replaced compattask Edit a Wikipedia article with your favourite editor compattask Upload images from Flickr easily compattask A script to upload the mappings of Freebase to Wikidata compattask Copies images from a Wikimedia wiki to Commons compattask Script to copy self published files from the English Wikipedia to Wikimedia Commons compattask Copies multiple images to a wiki compattask Try to find categories for media on Commons compattask This script goes over multiple pages of the home wiki, and reports invalid ISBN numbers, converts to ISBN-13 from ISBN-10 and places hyphens compattask Place a template on pages which are not linked to by other pages, and are therefore lonely compattask Uses the links on a page to quickly populate a category compattask Program to match two images based on histograms compattask Collect articles that have n dash or m dash character in their title and create a redirect to them from the corresponding hyphenated title compattask This is a bot that uses external filtering programs to munge the article text compattask Allows the operator to decide what to do about self links compattask Script to remove external links that are being or have been spammed compattask Moves interwiki links into standard locations compattask Create country sub-division redirect pages compattask Bot to create redirects based on name order compattask Converts HTML tables to MediaWiki markup compattask This bot unlinks a page on every page that links to it compattask This bot applies to Wikisource sites to upload text from text layers of files in various formats, including pdf compattask Image by content categorization compattask Bad word checker bot compattask This script processes the Categories for discussion working pages Script to clean up non-empty catecory redirect category on Commons Checks for text violating copyright by looking for matches in search engines compattask Script to remove on wiki pages reports of compattask Script to put reports of to wiki page compattask Script to remove EDP images in non-article namespaces compattask Get a page and writes its contents to standard output This bot goes over multiple pages of the home wiki, and looks for images that are linked inline (i.e., they are hosted from an external server and hotlinked, instead of using the wiki's upload function) compattask A bot script to do some simple over categorization filtering compattask Script to copy a Panoramio set to image repository (Commons) This bot spellchecks wiki pages compattask Splits a interwiki.log file into chunks of warnings separated by language This bot will standardize footnote references This bot renders siteinfo statistics in a table on a wiki page Script doing substitutions of tags within wiki page content This script tags files available at Commons with the Nowcommons template compattask creates backlinks from an interwiki.log file compattask

External links[edit]