Jump to content

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

From Wikipedia, the free encyclopedia
Computing desk
< April 13 << Mar | April | May >> April 15 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 14

[edit]

Wikipedia API and using Python scripts to edit Wikipedia?

[edit]

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)[reply]

@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)[reply]