Wikimedia Morocco Mini-Hackathon 2024
The WikiMA Mini-Hackathon is a local technical event which allows members of WikiTechMA (Wikimedia Morocco Technical Project), and other interested members of Wikimedia Morocco User Group, to meet in person, and make progress on various technical tasks, fostering more collaboration and focus. The event can also be attended remotely in a limited fashion (for special sessions and team collaboration).
This is the first edition, which is organized in Tangier, Morocco.
Location
[edit]Room Tingis, Hotel Ibis, Tangier, Morocco.
Attendees
[edit]- Rachidourkia (organizer)
- Bilalelidrissi171 (organizer)
- Ideophagous (organizer)
- Bonnjalal00
- Essaidib2
- bisel91 (remote)
- Lhoussine AIT TAYFST (remote)
- Reda benkhadra (remote)
Program
[edit]Link to meeting for remote attendees: https://meet.google.com/xet-pyjr-gks
Saturday
[edit]Time | Session | Responsible | Notes |
---|---|---|---|
10:20-10:30 | Introduction | Rachidourkia, Ideophagous | Etherpad |
10:30-11:00 | Presenting projects | Everyone | Etherpad |
11:00-17:00 | Hackathon | Everyone | Including lunch at the premises |
17:00-18:30 | SPARQL presentation | Everyone | Live session presented by Wikimedia Libya and the Arabic Wikidata Community |
18:30-22:00 | Hackathon | Everyone | |
22:00-23:30 | Dinner | Everyone |
Sunday
[edit]Time | Session | Responsible | Notes |
---|---|---|---|
10:00-10:30 | Hackathon | Everyone | |
10:30-11:30 | Lua presentation | Bonnjalal00 | Etherpad |
11:30-11:45 | Group photo | Everyone | Outside the venue |
11:45-13:15 | Wikifunctions workshop | Ideophagous | Etherpad |
13:15-21:00 | Hackathon | Everyone | Including lunch at the premises |
21:00-22:00 | Closing | Everyone | Presenting outcomes - Etherpad |
22:00-23:30 | Dinner | Everyone |
Projects and accomplishments
[edit]Projects
[edit]Fixing templates on arywiki
[edit]- Contributor: Ideophagous
- Description: fixing alignment of infobox election (float => left) and fixing missing border for main infobox template, and commons category template
- Main outcome: templates were fixed
- Links:
- Infobox election/core: https://w.wiki/Bv4Z
- Infobox election usage example: https://w.wiki/BuE6
- Main infobox template: https://w.wiki/Bv4X
- Commons category template: https://w.wiki/Bv4T
- Infobox and commons category usage example: https://w.wiki/BuE4
- Number of commits: 0
- Number of technical edits: 33
- Number of new pages: None
Wikifunctions workshop
[edit]- Contributor: Ideophagous
- Description: preparing and conducting a presentation/workshop on Wikifunctions
- Main outcome: the workshop was conducted and filmed (video to be edited and uploaded), and a Wikifunction with implementation and tests was created during the workshop
- Links:
- Etherpad: https://etherpad.wikimedia.org/p/WikiMAMHWF
- Wikifunction (Standard Arabic ordinal): https://www.wikifunctions.org/view/en/Z19629
- Number of commits: 0
- Number of technical edits: 19
- Number of new pages: 5
DarijaBot T1: Moroccan villages to arywiki Draft namespace
[edit]- Contributor: Ideophagous
- Description: adjusting T1 script for Moroccan villages, minor cleanup of dataset, and launching the script to create draft articles (around 7000)
- Main outcome: the draft articles are being created (1272 already added)
- Links:
- Github code: https://github.com/maurusian/DarijaBot/blob/main/Task%201%20-%20article%20generation/Task%201.2%20-%20Moroccan%20villages/villages.py
- Category of drafts created by DarijaBot: https://w.wiki/Bv4z
- Number of commits: 1
- Number of technical edits: 1 new category, 1272 new pages, 1272 Sitelinks
- Number of new pages: 1 new category, 1272 new pages
Infobox template for Tamazight wikipedia
[edit]- Contributor: Essaidib2
- Description: Creation of Infobox Television that can fetch wikidata property IDs or use manual entries using lua module.
- Links: (lua module: https://w.wiki/Bv5B, infobox template: https://w.wiki/Bv5E)
- Number of technical edits: 26
- Number of new pages: 3
Amssghti (Spelling corrector for Tamazight wikipedia.)
[edit]- Contributor: Essaidib2
- Description: Creation of a python script for BihiBot to correct spelling mistakes in Tamazight wikipedia articles.
- Links: (https://github.com/Essaidib2/bihibot/blob/main/amssghti/amssghti.py)
- Number of technical commits: 5
Import Mosque Dataset using QuickStatments
[edit]- Contributor(s): bilalelidrissi171
- Description: I manually edited and cleaned up a Google Sheets mosque dataset (removed duplicates, translated mosque names, and split new and existing items). I used SPARQL to retrieve QIDs for "located in the administrative territorial entity" in Morocco and added them to each mosque. Then, I created a Python script to generate QuickStatements commands from the dataset for adding new mosques and updating existing ones (labels and descriptions in AR, ARY, EN; administrative location; country).
- Main outcome: 587 New mosque in Wikidata and updating of 233 old mosque
- Links: https://github.com/bilalelidrissi171/Wiki-Hackathon
- Number of commits: 1
- Number of technical edits: 1873
- Number of new pages: 498, link: https://xtools.wmcloud.org/pages/www.wikidata.org/bilalelidrissi171/0/noredirects/all/2024-11-09/2024-11-10
DarijaBot T13: patch number of villages per fraction
[edit]- Contributor: Ideophagous
- Description: attempting to patch articles and draft articles of Moroccan villages on arywiki, by correcting the number of villages per fraction (which is currently incorrect).
- Main outcome: the list of fractions with village counts was generated for Al Haouz province
- Links:
- List of village counts per fraction (Al Haouz): https://docs.google.com/spreadsheets/d/1R4yNGtL3IjNjmgml4dT0QyO6DdwRGDd3xj1oaL7E-lA/edit?gid=0#gid=0
- Number of commits: 0
- Number of technical edits: 0
- Number of new pages: 0
SuggestBot
[edit]- Contributor(s): Bonnjalal00
- Description: Working on the SuggestBot For Arabic wikipedia. This Bot provides various functionality used to recommend articles to edit to Wikipedia users
- Main outcome:
- Updated Articles prediction to ORES v3
- Added support to get views in Arabic Artricles
- Updated some code to newest pywikibot version
- Added support to get predictions on Arabic articles using Quality Article features Model (API)
- Tested the profiler on the new code.
- Links: Github code ( https://github.com/bonnjalal/suggestbot/tree/master )
- Number of commits: 10
- Number of technical edits: 0
Lua Presentation
[edit]- Contributor(s): Bonnjalal00
- Description: Preparing and Presenting a presentation on Lua in wikimedia
- Main outcome: The presentation and video were made/presented and shot (to be edited and uploaded).
- Links:
- Number of commits: 0
- Number of technical edits: 0
- Number of new pages: 0
2024 Moroccan census data
[edit]- Contributor(s): Reda benkhadra
- Description: Updating geographical objects with 2024 census data using OpenRefine and QuickStatements.
- Main outcome:
- Adding population and households data to 6 administrative levels (national, regions, provinces/prefectures, circles, communes, urban centers)
- Adding labels and aliases in Arabic, French, English to each geographical items
- Creating items for newly added circles and urban centers, and updating information about split or dissolved circles on Wikidata and Arabic Wikipedia
- Merging existing items of similar geographical objects
- Adding missing statements/claims to the geographical objects
- Links (code, screenshots, documentation, etc)
- Example of a batch on QuickStatements (https://quickstatements.toolforge.org/#/batch/239652)
- Example of updating information for circles on Arabic Wikipedia (https://w.wiki/Bv6v)
- Number of commits: 0
- Number of technical edits: 17874 edits (https://xtools.wmcloud.org/sc/wikidata.org/Reda%20benkhadra/0/2024-11-08/2024-11-10)
- Number of new pages: 136, link: https://xtools.wmcloud.org/pages/www.wikidata.org/Reda%20benkhadra/0/noredirects/all/2024-11-09/2024-11-10
Rebuilding Website Wikimorocco.org
[edit]- Contributor(s): EL Hachem BISELSALE
- Description: Updating theme, main sections, design
- Main outcome:
- Change the old theme
- Bosting time of response using imagifying technics
- Rewrinting content
- Links (code, screenshots, documentation, etc) : https://wikimorocco.org/
- Number of commits: 0
- Number of technical edits: 0
- Number of new pages: 0
Outcomes
[edit]Link to Dashboard for total contributions on Wikidata: https://outreachdashboard.wmflabs.org/courses/Wikimedia_Morocco/WikiMA_Mini-Hackathon_2024/home
- Number of attendees: 7
- Number of projects: 11
- Number of presentations/workshops: 2
- Number of new bots: 1 underway
- Number of bot tasks: 1 new, 1 improved, 2 underway
- Number of new Wikifunctions: 1
- Number of new Wikidata items: 634
- Number of new pages: 1935
- Number of technical edits: 21370
- Number of Commits: 17
Pictures
[edit]Commons category: Category:Wikimedia Morocco Mini-Hackathon 2024
- Group picture: November 10, 2024, at 10:30