Page MenuHomePhabricator

Figure out URL structure for revscoring / ores
Closed, ResolvedPublic

Description

Currently the URL structure is:

ores.wmflabs.org/$wikidbname/other-params. If we want to make this per-domain, it'd have to be wikidomain/some_prefix/other-params. And since ores needs dbname, we'll have to somehow translate the domain into dbname.

This could happen either in:

  1. Varnish rewrite
  2. uwsgi rewrite
  3. In the revscoring code itself

Event Timeline

yuvipanda raised the priority of this task from to Needs Triage.
yuvipanda updated the task description. (Show Details)
yuvipanda added a project: ORES.
yuvipanda added subscribers: yuvipanda, BBlack, Halfak, Legoktm.

My $0.02 about various bits:

  • /some_prefix will be something like /api/ores1/ or similar
  • hostname to dbname mapping should probably stay down in revscoring itself. I think this is going to be a generic issue for lots of services, and we may need to generalize it better than what's in mediawiki-config today for other consumers.

We could probably have it be in uwsgi trivially, and agree that this might need more generalizing.

Halfak claimed this task.

This is more than two years old. It's done.