Page MenuHomePhabricator

Coordinate "Running Pywikibot Scripts" workshop (March)
Closed, ResolvedPublic

Description

Checklist

(for organizers and/or mentors)

More details on the workshop: https://meta.wikimedia.org/wiki/Small_wiki_toolkits/Workshops#How_to_run_a_basic_script_via_Pywikibot

Detailed guide: https://meta.wikimedia.org/wiki/Small_wiki_toolkits/Workshop_guide

Before the workshop
  • Finalize on a topic
  • Recruit mentor(s)
  • Finalize on a date and time
  • Pick a communication medium for the workshop
  • Add details on a wiki page and setup a process for registration
  • Promote the workshop via mailing lists
  • Develop or review workshop material in collaboration w/ mentors (slides)
  • Send reminders to participants and share any prerequisites
    • Email reminder on mailing lists (done)
    • Message on talk pages of 28 registered attendees via MassMessage (done)
    • Message on the workshops' talk page (done)
  • Message on the small wiki toolkits page (done)
During the workshop
  • Run a quick introduction round
  • Take notes (discussion questions, resources, attendees usernames and their wiki communities)
  • Facilitate and/or run the presentation
  • Record the meeting
  • Take a group photo
After the workshop
  • Share with all participants / mentor(s) link to join Telegram chat for follow-up conversations https://t.me/+Z_b1MR8O0wAzZmVh
  • Share a follow-up message and a feedback survey in 1-2 weeks
  • Add all attendees to a metrics data sheet for tracking contributions
  • Upload all workshop materials to Wikimedia Commons (Category:SWT)
  • Upload photo to Wikimedia Commons
  • Analyze survey results

Event Timeline

srishakatux renamed this task from SWT Workshop - Running Pywikibot Scripts(March) to Coordinate "Running Pywikibot Scripts" workshop (March).Mar 21 2022, 8:17 AM
srishakatux updated the task description. (Show Details)
srishakatux subscribed.

(copied the checklist from the task around the first workshop)

I propose also to announce the workshop in the pwb mailing list pywikibot@lists.wikimedia.org.

@Xqt Great suggestion! I missed your comment earlier. I will forward the message to the list and in future remember to do an early announcement as well..

srishakatux reopened this task as Open.EditedApr 6 2022, 6:36 AM

(Re-opening as there are a few things left for me to do here)

Copying content from etherpad: https://etherpad.wikimedia.org/p/swt-running-pywikibot-scripts

Small wiki toolkits - How to run a basic script via Pywikibot

Friday, March 25th, 2022 17:00 - 18:30 UTC

Mentor(s)

User:SSapaty (WMF)
User:SSethi (WMF)

Participants

UsernameWiki
User:ZI Jonybn
User:4nn1l2fa
User:Robertjamal12twi
User:Kasyapte
User:Mrb Rafibn
User:Bryandamon/
User:Brian King/
User:Md. Golam Mukit Khanbn

Resources

Workshop slides https://docs.google.com/presentation/d/1QLP0lOnXq6oP8TxRAOGBB6pL6xIRwi6jUfbApqIVPKM/edit

Discussion / Questions

:Boom! Thank you It worked!

  • I noticed that there are a lot of Bash codes while running pwb. I'm a windows user and run python using either pycharm or python's default ide. I'm not that much comfortable in bash. Is it possible to show running some simple scripts for users comfortable in gui like me?
srishakatux lowered the priority of this task from High to Medium.
srishakatux updated the task description. (Show Details)

I noticed that there are a lot of Bash codes while running pwb. I'm a windows user and run python using either pycharm or python's default ide. I'm not that much comfortable in bash. Is it possible to show running some simple scripts for users comfortable in gui like me?

Pywikibot scripts are made to run in Windows Command Prompt.

  • To start it type cmd and press [Enter].
  • Set the path to your Pywikibot folder e.g. cd c:\pywikibot\core if this is the Pywikibot directory
  • now run your script (here touch.py) like pwb touch -page:Foo -simulate

You can run the scripts via IDLE but it is not recommended to do it:

  • Start IDLE from the Pywikibot directory and run the shell:
from scripts import basic  # import the script (here basic.py)
basic.main('text:Foo', '-page:Project:Sandbox', '-simulate')  # pass arguments to the script and run it

Survey results covering the two previous workshops:

  • Overall quality and usefulness were rated as decent - 50% rated it as 3 and above (on a scale of 5).
  • Increase in skills reported by participants – 33% of survey respondents said their familiarity with the technical topic increased after attending the workshop (from 3 on a scale of 5 to 4).
  • Skills gained / Applying the learnings from the workshop
    • Folks tried the scripts on other wikis - Commons, Wikisource, Wikidata
    • It was helpful for them to learn about PAWS
    • Writing an archiving bot for fawiki (Farsi Wikipedia), which would cover some special closing templates
  • Additional feedback
    • Encourage the captioning feature in Google Meet so participants can clearly understand the mentors with “English as their second language.”
    • Focus on PAWS more than the command line.
    • The content is too advanced.
    • Notify people in multiple venues about the workshop
srishakatux updated the task description. (Show Details)