Scripts reference#
Pywikibot framework has a lot of ready-to-use scripts for several tasks.
In general the usage and options of all scripts may be shown by using the command
<scriptname> -help
Contents#
- Scripts package
base_dir- add_text script
- archivebot script
- basic script
- blockpageschecker script
- category script
- category_graph script
- category_redirect script
- change_pagelang script
- checkimages script
CATEGORIES_WITH_LICENSESCheckImagesBotcheck_image_duplicated()check_image_on_commons()check_step()find_additional_problems()ignore_save_related_errorsignore_server_errorsimportant_image()is_tagged()load()load_hidden_templates()load_licenses()mini_template_check()put_mex_in_talk()regex_generator()report()report_image()set_parameters()skip_images()smart_detection()tag_image()takesettings()template_in_list()upload_bot_change_function()wait()
LogIsFullmain()print_with_time_zone()
- claimit script
- clean_sandbox script
- commons_information script
- commonscat script
- coordinate_import script
- cosmetic_changes script
- data_ingestion script
- delete script
- delinker script
- djvutext script
- download_dump script
- fixing_redirects script
- harvest_template script
- illustrate_wikidata script
- image script
- imagetransfer script
- interwiki script
GiveUpOnPageInterwikiBotInterwikiBotConfigalwaysaskhintsasynchronousautoautonomouscleanupconfirmfollowinterwikifollowredirectforcehintnobrackethintshintsarerightignoreinitialredirectlacklanguagelimittwolocalonlymaxquerysizeminlinksminsubjectsneedlimitneverlinknobackonlynote()parenthesesonlyquietreadOptions()remembernoremoverepositoryrestore_allsameselectshowtextlinkshowtextlinkaddskipskipautostrictlimittwosummaryuntranslateduntranslatedonly
InterwikiDumpsLinkMustBeRemovedSaveErrorSubjectaddIfNew()askForHints()assemble()batchLoaded()check_page()disambigMismatch()finish()getFoundDisambig()getFoundInCorrectNamespace()getFoundNonDisambig()get_alternative()isDone()isIgnored()is_not_redirect()makeForcedStop()namespaceMismatch()openSites()page_empty_check()post_processing()problem()process_limit_two()process_unlimited()redir_checked()replaceLinks()reportBacklinks()reportInterwikilessPage()skipPage()translate()whatsNextPageBatch()whereReport()
botMayEdit()compareLanguages()main()
- interwikidata script
- listpages script
- misspelling script
- movepages script
- newitem script
- noreferences script
- nowcommons script
- pagefromfile script
- parser_function_count script
- patrol script
- protect script
- redirect script
- reflinks script
- replace script
- replicate_wiki script
- revertbot script
- solve_disambiguation script
- speedy_delete script
- template script
- templatecount script
- touch script
- tracking param remover script
- transferbot script
- transwikiimport script
- unlink script
- unusedfiles script
- upload script
- watchlist script
- weblinkchecker script
- welcome script
- Script subpackages
- Translation files - scripts.i18n
- Maintenance scripts
- User scripts - scripts.userscripts