Topic on User talk:Edoderoo

Jump to navigation Jump to search

Help with getting started on PAWS-based editing

3
Daniel Mietchen (talkcontribs)

Hi, I am not sure how to run scripts from PAWS to edit Wikidata. The main thing I am uncertain about is how/where to store the credentials. Is there some kind of config file, and how do I set it up? Can I use OAuth in some fashion? I think putting them into the Jupyter notebook that runs the rest of the code (or into any Jupyter notebook on PAWS, for that matter) is unsafe, so I was wondering what the recommended setup is and whether you could share with me one of the notebooks you use for editing. Thanks!

Edoderoo (talkcontribs)

https://paws.wmflabs.org/paws/hub will ask you to use OAuth, like other tools (PetScan, descriptioner, etc) will, then you use your useraccount from there. Every script will basically start with:

import pywikibot

and then you start off from there. All the setup of Python, Linux, etc, can be left behind, what makes PAWS ideal for a quick workshop, some testing from basically anywhere, without having to setup python or pywikibot libraries.


Daniel Mietchen (talkcontribs)

OK, thanks - will look into that more.

Reply to "Help with getting started on PAWS-based editing"