Page MenuHomePhabricator

Wikimedia hashtag search - continues to have delays
Closed, ResolvedPublic

Description

Good day!
Earlier this year I submitted a report on Wikimedia hashtag search for not returning results. It took awhile to catch up but eventually, towards beginning of February it was working.
Now we started a new campaign in Romanian language Wikipedia (#wikimartisor - our WikiGap) and we need to monitor the participation. Just like last year, we were counting on Wikimedia hashtag search for help but it looks like it has delays again.
Please provide the needed support for this tool to work. We are counting on it for a number of local campaigns (there is another campaign in April).
In case this tool will not be maintained anymore please let the affiliates know ahead of time so we can budget time and resources to find alternatives for running our campaigns.

Thank you,

Claudia

Event Timeline

It looks like data stopped collecting 7 days ago. The scripts container has the following error:

Traceback (most recent call last):
  File "/scripts/scripts/collect_hashtags.py", line 160, in <module>
    db.insert_db(hashtag, change)
  File "/scripts/scripts/db.py", line 39, in insert_db
    change['user'],
KeyError: 'user'

It seems odd to me that the event stream would be sending an event, which we deem a valid hashtagged edit, that has no user information. Will investigate further.

Oh I believe this might be related to changes from T241178. The first example edit I checked without user information had had the username suppressed. I think we should just skip edits entirely without user, as the edit was presumably damaging.

Samwalton9-WMF claimed this task.
Samwalton9-WMF moved this task from Eng review to Done on the Moderator-Tools-Team (Kanban) board.

Data is catching up again. Thanks for spotting this!