Manual:Pywikibot/Scripts

This is a list of the existing bots with links to their descriptions. Many of the red linked scripts with no pages are found in the Pywikipediabot main folder.

{|class="wikitable sortable" !Name !Description
 * -style="background-color:#DFDFDF"

Main bot scripts

 * ../add_text.py/
 * Adds text at the top or end of pages
 * ../category.py/
 * Manages categories
 * ../imagecopy.py/
 * Copies images from a wikimedia wiki to Commons
 * ../interwiki.py/
 * Creates Interlanguage links between a project
 * ../redirect.py/
 * Fixes double redirects, and deletes broken redirects
 * ../replace.py/
 * Edits using text replacement
 * ../solve_disambiguation.py/
 * Fixes disambiguation pages
 * ../table2wiki.py/
 * Converts HTML tables to MediaWiki markup
 * ../template.py/
 * Replaces one template with another (easier to use than replace.py)
 * ../upload.py/
 * Uploads images to a wiki
 * ../weblinkchecker.py/
 * Finds broken external links
 * -style="background-color:#DFDFDF"
 * Converts HTML tables to MediaWiki markup
 * ../template.py/
 * Replaces one template with another (easier to use than replace.py)
 * ../upload.py/
 * Uploads images to a wiki
 * ../weblinkchecker.py/
 * Finds broken external links
 * -style="background-color:#DFDFDF"
 * ../weblinkchecker.py/
 * Finds broken external links
 * -style="background-color:#DFDFDF"

Auxiliary programs

 * ../cosmetic_changes.py/
 * Makes the wiki source code look cleaner, invoked by other scripts
 * ../login.py/
 * Used to log in
 * ../version.py/
 * Outputs Pywikipedia's revision number and Python's version
 * ../lonelypages.py/
 * Place a template on pages which are not linked to by other pages, and are therefore lonely
 * -style="background-color:#DFDFDF"
 * ../lonelypages.py/
 * Place a template on pages which are not linked to by other pages, and are therefore lonely
 * -style="background-color:#DFDFDF"
 * -style="background-color:#DFDFDF"

Libraries

 * ../pagegenerators.py/
 * page generating library
 * ../textlib.py/
 * text manipulation library
 * ../throttle.py/
 * throttle class library for throttling get and put access
 * ../wikipedia.py/
 * The main library the other scripts use
 * ../query.py/
 * API query library
 * -style="background-color:#DFDFDF"
 * The main library the other scripts use
 * ../query.py/
 * API query library
 * -style="background-color:#DFDFDF"
 * -style="background-color:#DFDFDF"

Other bot scripts

 * ../basic.py/
 * This is not a complete bot; rather, it is a template from which simple bots can be made.
 * ../copyright.py/
 * Checks for text violating copyright by looking for matches in search engines
 * ../protect.py/
 * Protect and unprotect pages en masse.
 * ../standardize_interwiki.py/
 * Moves interwiki links into standard locations
 * ../warnfile.py/
 * creates backlinks from a interwiki.log file
 * ../welcome.py/
 * Used to welcome new users
 * -style="background-color:#DFDFDF"
 * ../warnfile.py/
 * creates backlinks from a interwiki.log file
 * ../welcome.py/
 * Used to welcome new users
 * -style="background-color:#DFDFDF"
 * -style="background-color:#DFDFDF"

Change general pages

 * ../archivebot.py/
 * Archives discussion threads
 * ../delete.py/
 * Deletes pages en masse
 * ../movepages.py/
 * Moves page to another title
 * ../pagefromfile.py/
 * Creates pages from a text file
 * ../standardize_notes.py/
 * Refactors references and citations
 * -style="background-color:#DFDFDF"
 * Creates pages from a text file
 * ../standardize_notes.py/
 * Refactors references and citations
 * -style="background-color:#DFDFDF"
 * -style="background-color:#DFDFDF"

Categories

 * ../catall.py/
 * Adds or changes categories
 * ../category_redirect.py/
 * Redirects pages etc. from one category to another.
 * ../commons_category_redirect.py/
 * This bot cleans Commons:Category:Non-empty category redirects by moving all the files, pages and categories from redirected category to the target category.
 * ../commonscat.py/
 * Adds commonscat to Wikipedia categories (or articles), if other language wikipedia already has such template
 * ../commons_link.py/
 * Adds commonscat and commons to Wikipedia articles, if same name category or gallery exist on Commons.
 * ../imagerecat.py/
 * Try to find categories for media on Commons
 * ../makecat.py/
 * Uses the links on a page to quickly populate a category
 * -style="background-color:#DFDFDF"
 * ../imagerecat.py/
 * Try to find categories for media on Commons
 * ../makecat.py/
 * Uses the links on a page to quickly populate a category
 * -style="background-color:#DFDFDF"
 * Uses the links on a page to quickly populate a category
 * -style="background-color:#DFDFDF"

Images

 * ../delinker.py/
 * Bot delinks and replaces images
 * ../flickrripper.py/
 * upload images from Flickr easily
 * ../imageharvest.py/
 * Copies multiple images to a wiki
 * ../imagetransfer.py/
 * Copies images to another wiki
 * ../panoramiopicker.py/
 * upload images from Panoramio easily
 * unusedfiles.py
 * Uploadmultiple.py
 * Script to upload multiple images to a Mediawiki wiki
 * -style="background-color:#DFDFDF"
 * upload images from Panoramio easily
 * unusedfiles.py
 * Uploadmultiple.py
 * Script to upload multiple images to a Mediawiki wiki
 * -style="background-color:#DFDFDF"
 * Uploadmultiple.py
 * Script to upload multiple images to a Mediawiki wiki
 * -style="background-color:#DFDFDF"

Unsorted scripts
external server and hotlinked, instead of using the wiki's upload function.
 * ../articlenos.py/
 * Displays the ordinal number of the new articles being created visible on the Recent Changes list.
 * ../BeautifulSoup.py/
 * ../blockpageschecker.py/
 * Deletes the templates used to warn in the pages that a page is blocked, when the page isn't blocked at all. Indeed, very often sysops block the pages for a set time but then they forget to delete the warning! This script is useful if you want to delete those useless warning left in these pages.
 * ../capitalize_redirects.py/
 * Bot to create capitalized redirects where the first character of the first word is uppercase and the remaining characters and words are lowercase.
 * ../casechecker.py/
 * Script to enumerate all pages on the wiki and find all titles with mixed latin and cyrilic alphabets.
 * ../catlib.py/
 * Library to work with category pages on Wikipedia
 * ../censure.py/
 * Bad word checker bot
 * ../cfd.py/
 * This script processes the Categories for discussion working page. It parses out the actions that need to be taken as a result of CFD discussions (as posted to the working page by an administrator) and performs them.
 * ../checkimages.py/
 * 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.
 * ../clean_sandbox.py/
 * This bot cleans a sandbox by replacing the current contents with predefined text.
 * ../config.py/
 * ../copyright_clean.py/
 * ../copyright_put.py/
 * ../daemonize.py/
 * ../date.py/
 * ../deledpimage.py/
 * ../disambredir.py/
 * Goes through the disambiguation pages, checks their links, and asks for each link that goes to a redirect page whether it should be replaced.
 * ../diskcache.py/
 * ../djvutext.py/
 * Extracts OCR text from djvu files and uploads onto pages in the "Page" namespace on Wikisource.
 * ../editarticle.py/
 * Edit a Wikipedia article with your favourite editor.
 * ../extract_wikilinks.py/
 * ../family.py/
 * ../featured.py/
 * ../fixes.py/
 * ../fixing_redirects.py/
 * ../followlive.py/
 * ../generate_user_files.py/
 * ../get.py/
 * Very simple script which gets a page and writes its contents to standard output. This makes it possible to pipe the text to another process.
 * ../gui.py/
 * A TKinter window with a unicode text field where the user can e.g. edit the contents of an article.
 * ../image.py/
 * Used to change one image to another or remove an image entirely.
 * ../imageuncat.py/
 * Program to add uncat template to images without categories at commons.
 * ../inline_images.py/
 * 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
 * ../disambredir.py/
 * Goes through the disambiguation pages, checks their links, and asks for each link that goes to a redirect page whether it should be replaced.
 * ../diskcache.py/
 * ../djvutext.py/
 * Extracts OCR text from djvu files and uploads onto pages in the "Page" namespace on Wikisource.
 * ../editarticle.py/
 * Edit a Wikipedia article with your favourite editor.
 * ../extract_wikilinks.py/
 * ../family.py/
 * ../featured.py/
 * ../fixes.py/
 * ../fixing_redirects.py/
 * ../followlive.py/
 * ../generate_user_files.py/
 * ../get.py/
 * Very simple script which gets a page and writes its contents to standard output. This makes it possible to pipe the text to another process.
 * ../gui.py/
 * A TKinter window with a unicode text field where the user can e.g. edit the contents of an article.
 * ../image.py/
 * Used to change one image to another or remove an image entirely.
 * ../imageuncat.py/
 * Program to add uncat template to images without categories at commons.
 * ../inline_images.py/
 * 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
 * ../fixing_redirects.py/
 * ../followlive.py/
 * ../generate_user_files.py/
 * ../get.py/
 * Very simple script which gets a page and writes its contents to standard output. This makes it possible to pipe the text to another process.
 * ../gui.py/
 * A TKinter window with a unicode text field where the user can e.g. edit the contents of an article.
 * ../image.py/
 * Used to change one image to another or remove an image entirely.
 * ../imageuncat.py/
 * Program to add uncat template to images without categories at commons.
 * ../inline_images.py/
 * 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
 * A TKinter window with a unicode text field where the user can e.g. edit the contents of an article.
 * ../image.py/
 * Used to change one image to another or remove an image entirely.
 * ../imageuncat.py/
 * Program to add uncat template to images without categories at commons.
 * ../inline_images.py/
 * 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
 * ../inline_images.py/
 * 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
 * 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
 * ../interwiki_graph.py/
 * ../isbn.py/
 * 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.
 * ../logindata.py/
 * ../maintainer.py/
 * ../maintcont.py/
 * ../match_images.py/
 * ../misspelling.py/
 * ../mysql_autoconnection.py/
 * ../noreferences.py/
 * ../nowcommons.py/
 * ../pageimport.py/
 * ../piper.py/
 * This is a bot that uses external filtering programs to munge the article text.
 * ../rciw.py/
 * 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 ran automatically by maintainer.py.
 * ../rcsort.py/
 * ../reflinks.py/
 * ../revertbot.py/
 * ../saveHTML.py/
 * ../selflink.py/
 * ../simple_family.py/
 * ../spamremove.py/
 * ../speedy_delete.py/
 * ../spellcheck.py/
 * ../splitwarning.py/
 * ../statistics_in_wikitable.py/
 * ../templatecount.py/
 * ../testfamily.py/
 * ../titletranslate.py/
 * ../udp-log.py/
 * ../unlink.py/
 * ../user-config.py/
 * ../user-config.py.example/
 * ../userlib.py/
 * ../us-states.py/
 * ../watchlist.py/
 * ../wikilogbot.py/
 * ../wikicomserver.py/
 * ../wikipediatools.py/
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../revertbot.py/
 * ../saveHTML.py/
 * ../selflink.py/
 * ../simple_family.py/
 * ../spamremove.py/
 * ../speedy_delete.py/
 * ../spellcheck.py/
 * ../splitwarning.py/
 * ../statistics_in_wikitable.py/
 * ../templatecount.py/
 * ../testfamily.py/
 * ../titletranslate.py/
 * ../udp-log.py/
 * ../unlink.py/
 * ../user-config.py/
 * ../user-config.py.example/
 * ../userlib.py/
 * ../us-states.py/
 * ../watchlist.py/
 * ../wikilogbot.py/
 * ../wikicomserver.py/
 * ../wikipediatools.py/
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../templatecount.py/
 * ../testfamily.py/
 * ../titletranslate.py/
 * ../udp-log.py/
 * ../unlink.py/
 * ../user-config.py/
 * ../user-config.py.example/
 * ../userlib.py/
 * ../us-states.py/
 * ../watchlist.py/
 * ../wikilogbot.py/
 * ../wikicomserver.py/
 * ../wikipediatools.py/
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../user-config.py.example/
 * ../userlib.py/
 * ../us-states.py/
 * ../watchlist.py/
 * ../wikilogbot.py/
 * ../wikicomserver.py/
 * ../wikipediatools.py/
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../wikilogbot.py/
 * ../wikicomserver.py/
 * ../wikipediatools.py/
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../wiktionary.py/
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../xmlreader.py/
 * ../xmltest.py/
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * ../rciw.py/
 * -style="background-color:#DFDFDF"
 * -style="background-color:#DFDFDF"

Deprecated scripts

 * ../touch.py/ (touchall.py)
 * When a record needs to be changed in order to refresh relations
 * ../test.py/
 * }
 * ../test.py/
 * }
 * }