Page MenuHomePhabricator

Outreachy Round 27: Improve how Wiki Education Dashboard counts references added
Open, Needs TriagePublic

Description

IMPORTANT: Make sure to read the Outreachy participant instructions and communication guidelines thoroughly before commenting on this task. This space is for project-specific questions, so avoid asking questions about getting started, setting up Gerrit, etc. When in doubt, ask your question on Zulip first!

Brief summary

The Dashboard is a Ruby on Rails web application for tracking contributions by groups of editors, providing statistics and details about their contributions. It is commonly used for events that bring new editors to Wikipedia, such as edit-a-thons, Wikipedia editing assignments in schools and universities, and distributed campaigns like #1Lib1Ref.

One especially valuable statistic that is currently available in a handful of languages is "references added". The Dashboard currently gets statistics on references added by fetching the features data supplied by Wikimedia's article quality machine learning models, and comparing the values of one revision with values for the previous revision. For example, here's a revision that added 3 references: https://en.wikipedia.org/w/index.php?title=Rubiales_affair&diff=next&oldid=1175352098

And here is a query for the articlequality features that the Dashboard uses to determine that 3 references were added from one revision to the next (note the increase in feature.wikitext.revision.ref_tags value): https://ores.wikimedia.org/v3/scores/enwiki/?models=articlequality&revids=1175352098|1175352005&features

This method of counting references is limited to languages that have an articlequality machine learning model available, and most Wikipedia language versions do not.

For this project, you will develop a performant alternative implementation of counting references added that does not depend on articlequality features data, and works for every language version of Wikipedia. One high priority is to enable reference counting for Spanish Wikipedia, in support of the Spanish #1Lib1Ref campaign. One promising route would be to co-opt data from another API that works across languages, such as this one: https://misalignment.wmcloud.org/api/v1/quality-revid-features?lang=es&revid=144495297

To get started, you should set up a Dashboard development environment so that you will easily be able to explore the system and work on initial contributions. See https://github.com/WikiEducationFoundation/WikiEduDashboard

Email sage at wikiedu.org to request an invite to the project's Slack chat.

Relevant skills

  • Ruby - required
  • JavaScript - helpful but not required; the Dashboard's frontend is written in JavaScript using the React framework, although this project will primarily involve the Ruby backend.
  • Familiarity with wikis and/or Wikidata - helpful but not required

Microtasks

Mentors

Event Timeline

@Maryann-Onyinye I'd like to list this as a second Outreachy project for round 27. Could you lock this one down? (The people currently subscribed are interested parties and should all retain access.)

Hey @Ragesoss Thanks! I'm trying to figure out how to change visibility, once i do i'd lock it down! I've reached out to @srishakatux to help!

Just chiming in to say that I love this project and will happily help as I can with API support or whatever solution is decided on. Thanks for adding this!

I'm trying to figure out how to change visibility, once i do i'd lock it down

@Maryann-Onyinye I think step #3 in this list also has some pointers for locking down the task (I'm not in the group or I'd do it myself).

Maryann-Onyinye changed the visibility from "Public (No Login Required)" to "acl*outreachy-mentors (Project)".Sep 15 2023, 10:47 AM

@Maryann-Onyinye I'd like to list this as a second Outreachy project for round 27. Could you lock this one down? (The people currently subscribed are interested parties and should all retain access.)

Done!

Hi @Ragesoss

Kindly complete the proposal submission next steps:

If you have any questions on the next steps, don't hesitate to reach out.

Thank you!

Hi @Ragesoss

Kindly complete the proposal submission next steps:

If you have any questions on the next steps, don't hesitate to reach out.

Thank you!

Done!

Thank you!

Hi @Ragesoss

Kindly complete the proposal submission next steps:

If you have any questions on the next steps, don't hesitate to reach out.

Thank you!

Done!

Maryann-Onyinye changed the visibility from "acl*outreachy-mentors (Project)" to "Public (No Login Required)".Oct 2 2023, 1:54 PM