I intend to create notebooks that other users with little coding experience should be able to run themselves. After discussion with @yuvipanda at Wikimania one possible solution would be to make the notebooks fork-able. Since the intended audience is beginners in coding it would prefereably be a nice friendly button saying e.g. "Copy" or "Fork" in the view of the actual notebook.
Description
Description
Related Objects
Related Objects
Event Timeline
Comment Actions
You can achieve this using wget and paws-public.wmflabs.org:
wget http://paws-public.wmflabs.org/paws-public/44645351/wikibot.py?format=raw
Comment Actions
!wget http://paws-public.wmflabs.org/paws-public/44645351/wikibot.py?format=raw > wikibot.py
Will work from notebook itself, fwiw.
I'll look into making a more user-friendly version of this.
Comment Actions
Options are also documented at: https://wikitech.wikimedia.org/wiki/PAWS#Fork
Please re-open if you need more help!