Wikimedia Hackathon 2021/Outcomes

Hackathon feedback edit

Full raw feedback backed up at Wikimedia_Hackathon_2021/Feedback. Next follows a categorization from the organizers:

Hackathon feedback summary
Topic Num. of mentions
Connecting with people 5
Online space praise 17
Online space improvements 8
Social events praise 7
Text chat praise 2
Text chat improvements 4
General praise 4
Livestream 5
Online showcase 3
Online notes 1
OSS tools 1
Timezones and scheduling improvements 5
Beginner topics needed 2
Session leader praise 5
Hacking rooms improvements 8
Livestream improvements 1
Organizers praise 5


Main track presentations edit

"Untangling MediaWiki" by Daniel Kinzler edit

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 edit

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 edit

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 edit

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 edit

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 edit

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 edit

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 edit

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.



Project showcase edit

Full showcase information published at Wikimedia_Hackathon_2021/Showcase.

16 projects were presented in the video call. Here is a list of the projects mirrored from the Showcase page.


Ranker batch mode edit

Translate Link tool edit

Some bots for maintaining links and references in Wikipedia edit

  • 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:
    1. 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.
    2. remove 'fbclid' and 'igshid' tokens from links.
    3. remove percent-encoding from links.
    4. 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:
    1. Published source code, compiled executables and other necessary files on GitHub.
    2. Wrote a detailed 'readme' file.
    3. Added English comments to the source code.
    4. 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 edit

Enhanced look and feel of VideoCutTool edit

Wikidata Lexeme Forms: Portuguese modal adverb edit

Piano concert edit

  • 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 edit

AddSenseImage edit

Wikimedia Accessibility (yep ;) edit

Shape Expressions for Wikidata Lexemes edit

Fixing a bug in CollabPad edit

Fixing a bug in IdentifierInput.js gadget for Wikidata edit

Writing pywikibot script which would upload fFnnish museum of architecture photos from Finna to Wikimedia Commonsa edit

Collaboratively creating a notebook for reconciliation edit

edit