Page MenuHomePhabricator

[P& E Dashboard] Enable Authorship Highlighting feature for more languages
Open, Needs TriagePublic

Description

Hello!
During Wikimania Learning Days I saw that the Programs & Events Dashboard could highlight the editions an user has made inside an article as a way to show the Diff. The button says "Authorship highlighting" and it is explained here: https://wikiedu.org/blog/2017/04/19/authorship-highlighting/

It uses wikiwho and whocolor... but it seem that is only availabe in English. Could it be installed in other languages? It would be an awesome way for teachers all around the world to evaluate student's work.

Related Objects

Event Timeline

Theklan created this task.Aug 21 2017, 4:33 PM
Restricted Application added a project: Wikidata. · View Herald TranscriptAug 21 2017, 4:33 PM
Restricted Application added subscribers: Base, Aklapper. · View Herald Transcript

The wikiwho and whocolor APIs, which are maintained by the researchers developing it, only have it set up for English Wikipedia at this point, although I'm not aware of any specific blockers to expanding it to more languages: https://github.com/wikiwho/WikiWho

As soon as there is a whocolor API available for additional languages, I can make it available on Programs & Events Dashboard. (It might also be possible to set up wikiwho/whocolor on wmflabs.org, but I'm not sure how much work that would be to set up and maintain.)

Just wrote to the developper, asking whether this is possible or not. But it would be great to have it as a main diff system all around Wikipedia!

We are discussing this here: T175479

It seems that the API is ready for the Basque Wikipedia, so we would need to implement it in Dashboard: https://api.wikiwho.net/eu/

I introduce in this conversation @Ksarasola

Can we make an announcement somewhere for (all?) other Wikipedias to adopt this as well? (or AT LEAST the top 10?)

I think it depends on the developpers. But it would be great to have it, of course! Teachers will love it!

Cool! I filed a task to make it work for Basque on the dashboard: https://github.com/WikiEducationFoundation/WikiEduDashboard/issues/1394

It looks like Basque is the only other language that whocolor supports so far.

@Theklan I just deployed an update that enables the authorship highlighting for Basque Wikipedia!

Oh yeah!

2017 urr. 2 7:51 PM erabiltzaileak hau idatzi du (Ragesoss <no-reply@phabricator.wikimedia.org>):
Ragesoss added a comment.

@Theklanhttps://phabricator.wikimedia.org/p/Theklan/ I just deployed an update that enables the authorship highlighting for Basque Wikipedia!

TASK DETAIL
https://phabricator.wikimedia.org/T173746

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ragesoss
Cc: TFlanagan-WMF, VMasrour-WMF, Ksarasola, Ragesoss, Aklapper, Education-Collab, Base, Theklan, swati_agarwal, jlemley, BrillLyle, Pharos, AKoval_WMF

I'm reaching out to @Joalpe as this functionality would probably be also very welcome in pt.wiki

@VMasrour-WMF the blocker to more languages is support from the whocolor API. In addition to Basque, it looks like they've rolled out German and Turkish; we can get those enabled on the Dashboard shortly. But I don't know what their plans and timelines are like for additional languages.

Great news! Really great! Tomorrow we will anounce this...

I have been making some tests and it seems that with quite large articles (but not VERY large) it does only show color for the first 10-so paragraphs. Maybe is running out of memory or it needs a cache. It is happening both in English and in Basque, by the way.

Hi . Happy to try it out in portuguese. Not sure what I should do.. .

Em 2 de out de 2017 19:23, "Theklan" <no-reply@phabricator.wikimedia.org>
escreveu:

Theklan added a comment.

I have been making some tests and it seems that with quite large articles
(but not VERY large) it does only show color for the first 10-so
paragraphs. Maybe is running out of memory or it needs a cache. It is
happening both in English and in Basque, by the way.

*TASK DETAIL*
https://phabricator.wikimedia.org/T173746

*EMAIL PREFERENCES*
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

*To: *Theklan

*Cc: *Joalpe, TFlanagan-WMF, VMasrour-WMF, Ksarasola, Ragesoss, Aklapper,
Education-Collab, Base, Theklan, swati_agarwal, jlemley, BrillLyle, Pharos,
AKoval_WMF

I have been making some tests and it seems that with quite large articles (but not VERY large) it does only show color for the first 10-so paragraphs. Maybe is running out of memory or it needs a cache. It is happening both in English and in Basque, by the way.

Can you post links to some examples? I think this is a problem at the whocolor end, but I'm not sure.

German and Turkish should be live now too.

I have been making some tests and it seems that with quite large articles (but not VERY large) it does only show color for the first 10-so paragraphs. Maybe is running out of memory or it needs a cache. It is happening both in English and in Basque, by the way.

Can you post links to some examples? I think this is a problem at the whocolor end, but I'm not sure.

You can see it, for example, here: https://outreachdashboard.wmflabs.org/courses/EHU,_EWKE_eta_Donostia_Kultura/EHU-Wikipedia_2017/articles
Take: Virginia Hendersonen eredua (berria), a new article, you can see that there are four authors but the highlights are only appearing in some places.

Is this down?

It seems to be working.

I've reported the partial highlighting bug here: https://github.com/wikiwho/WhoColor/issues/9

It's indeed the WhoColor data that is incomplete, in that example.

It seems to be working.

It is, indeed! It has been about two days with an error message in the top side.

@Theklan that bug with Virginia Hendersonen eredua is fixed; the parser did not handle self-closing nowiki tags, so the one in that article broke it.

There may be other similar bugs, where some bit of syntax is present that the parser doesn't handle correctly. If you notice any other articles where some of the expected highlighting is missing or stops early, please report it here and I'll pass it along again.

Vojtech.dostal removed a subscriber: Vojtech.dostal.

can you please unsubscribe education collab? There's no need to send updates on this highly technical stuff to all members of the 'collab'.

Ragesoss added a subscriber: Vojtech.dostal.

@Vojtech.dostal done. Not sure why it was subscribed.

So who should i reach out to get this enabled in es.wiki?

Ragesoss renamed this task from Colorize users editions to [P& E Dashboard] Enable Authorship Highlighting feature for more languages.Jan 9 2018, 8:19 PM