Wikipedia:Reference desk/Archives/Computing/2016 April 14

{{#ifeq:{{PAGENAME}}|Special:Undelete| |{{#if:|

}} {{#ifeq:{{NAMESPACE}}|Wikipedia|{{#switch:{{NAMESPACE}}|= |
}}|{{error:not substituted|Archive header}}
}}}} {{#if:|
}}
width = "100%"
colspan="3" align="center" | Computing desk
width="20%" align="left" | < April 13

! width="25%" align="center"|<< Mar | April | May >>

! width="20%" align="right" |{{#ifexist:Wikipedia:Reference desk/Archives/Computing/2016 April 15|April 15|Current desk}} >

align=center width=95% style="background: #FFFFFF; border: 1px solid #003EBA;" cellpadding="8" cellspacing="0"
style="background: #5D7CBA; text-align: center; font-family:Arial; color:#FFFFFF;" | Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is {{#ifexist:Wikipedia:Reference desk/Archives/Computing/2016 April 24|an archive page|a transcluded archive page}}. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.

__TOC__

= April 14 =

Wikipedia API and using Python scripts to edit Wikipedia?

This may be kind of a beginner question, but I am wondering if/how people interact with the Wikipedia API while using Python, and if people have done automated edits with Python scripts (whether on a personal computer or on a web server)

WhisperToMe (talk) 05:56, 14 April 2016 (UTC)

:{{ping|WhisperToMe}} Manual:Pywikibot appears to be the way to go. Note that to run automated edits on the English Wikipedia, you must first get approval from the bot approval group and follow the Bot policy. I think pywikibot has a feature to not actually push edits, but to just show diffs, which would be useful for testing. —  crh 23  (Talk) 09:53, 14 April 2016 (UTC)