Page MenuHomePhabricator

Fix the scripts that updates stats
Closed, ResolvedPublic

Description

We have a gulp task to update the file containing the stats:

gulp update-stats

Currently it throws an exception:

throw new TypeError('The header content contains invalid characters');

It seems to be related to: https://github.com/wikimedia/wikimedia-portals/blob/master/site-stats.js#L32

This is blocking any stats update on www.wikipedia.org

Event Timeline

debt triaged this task as High priority.Feb 26 2016, 2:39 PM
debt added a subscriber: MaxSem.

Hi @MaxSem - can you take a look at this ticket and let us know the level of effort for this work to be completed?

Thanks!

Change 273972 had a related patch set uploaded (by MaxSem):
Fix latest Node being silly about user-agent strings

https://gerrit.wikimedia.org/r/273972

Change 273972 merged by jenkins-bot:
Fix latest Node being silly about user-agent strings

https://gerrit.wikimedia.org/r/273972