Wikimedia Hackathon 2021/Outcomes
Hackathon feedback summary
"Untangling MediaWiki" by Daniel Kinzler
MediaWiki has grown into a "big ball of mud" in which everything depends on everything. This makes it hard to understand and hard to modify. The Platform Team has set out on an "expedition" to untangle that knot. On the way, we will have to fight some monsters, and every now and then we'll find ourselves in a dead end. This session will focus on our work replacing the User and Title classes, why and how we are doing it.
"Wikibase, starting from scratch" by Luca Mauri
This presentation will explain how to setup a Wikibase client / server installation on two existing MediaWiki instances. It will explain all the basics of the process.
"Lua modules training" by tohaomg
There are two principal ways of creating templates in Wikipedian and related projects. First is the old-fashioned parser language with a lot of curly brackets, which is hard to read, has limited functionality, but has low entry threshold. The other way is Lua modules, which are written in the full-fledged programming language of Lua. Entry threshold of this, second, way is quite high, but I will try to help the participants to overcome it. I will try to teach participants to create and edit such modules, create and edit templates so that they use Lua modules, or at least understand how it all functions.
"Converting an extension to the new hook system" by Daniel Kinzler
Converting hook handlers from static methods to handler objects and introducing dependency injection.
"Where can I run this? An introduction to Wikimedia Cloud Services" by andrewbogott & bstorm
Wikimedia cloud services provides free hosting, storage, and compute services for any project associated with the Wikimedia movement. This will be a quick overview of the services we provide and pointers to new users about how to get started.
"Intro to Toolhub for tool maintainers" by Bryan Davis
A brief introduction to the Toolhub project with a focus on the ways that Toolhub hopes to help tool maintainers publicize their work on bots, web services, user scripts, gadgets, complex templates, lua modules to other Wikimedians.
"Intro to PAWS/Jupyter notebooks for Python beginners" by Chico Venancio
Most folks may not know that we have a powerful Python execution environment in the Wikimedia PAWS installation at http://paws.wmcloud.org/
. It allows ordinary folks to write interactive scripts to work with Wikimedia content.
It's a great first-step for anyone who wants to get started in hacking and coding.
An introductory session could provide a quick overview of PAWS/Jupyter notebooks as a way to play with Wikimedia content may be a good way to help break down the barriers. We won't be able to make full "coders" out of folks in two days, but we can try to demystify things for those new to coding and show them we have a great environment for experimentation.
"Wikidata Live Querying" by Lucas Werkmeister
In this session, we will spend an hour writing SPARQL queries against the Wikidata Query Service, to see what kind of useful or interesting data we can get out of Wikidata. Participants can bring their own suggestions for things to query, and we’ll see if we can figure those queries out.
16 projects were presented in the video call. Here is a list of the projects mirrored from the Showcase page.
Some bots for maintaining links and references in Wikipedia
- Speaker: Tohaomg
- Links: https://github.com/Tohaomg/wikipedia_bots
- Phab task: -
- Description: During this and last month I have developed and ran in ukwiki some bots which were doing such tasks:
- look for sets of completely identical references on a page, and if found, leave only one of them with full text and replace other references with links to the first.
- remove 'fbclid' and 'igshid' tokens from links.
- remove percent-encoding from links.
- turn links to other Wikipedia articles, written as external links, into internal links.
- During those two days of the Hackathon I have prepared those bots to be used by other users in other projects:
- Published source code, compiled executables and other necessary files on GitHub.
- Wrote a detailed 'readme' file.
- Added English comments to the source code.
- Edited source code so that it can be used by users other than me and in projects other than ukwiki (those were hardcoded before).
Edge cases of last mailing lists on mailman2 Enhanced look and feel of VideoCutTool Wikidata Lexeme Forms: Portuguese modal adverb
- Speaker: Lucas Werkmeister
- Links: https://www.twitch.tv/videos/1030661521 (CC BY 4.0)
- Phab task: -
- Description: I played a one-hour piano concert on Friday evening; join the other one tonight! (17:00 UTC)
OpenRefine, RStudio and Dashboards on PAWS
- Speaker: Yuvi Panda (Chico if Yuvi is unavailable)
- Phab task: -
- Description: PAWS now supports additional user interfaces, not just Jupyter Notebooks! Including Dashboards for building quick UIs that can be shared with others. (and 24 hours server timeout, from 1h)
Wikimedia Accessibility (yep ;) Shape Expressions for Wikidata Lexemes Fixing a bug in CollabPad Fixing a bug in IdentifierInput.js gadget for Wikidata Writing pywikibot script which would upload fFnnish museum of architecture photos from Finna to Wikimedia Commonsa
- Speaker: Zache (Kimmo Virtanen)
- Phab task: -
- Description: Update legacy FinnaUploadBot PHP code to pywikibot
Collaboratively creating a notebook for reconciliation Wikimedia Accesibility logo
Last edited on 1 July 2021, at 15:57
Content is available under CC BY-SA 3.0
unless otherwise noted.