To reproduce:
- Visit https://gerrit.wikimedia.org/r/c/labs/tools/wikibugs2/+/450446/2/tests/data/stream_events/change_wip_false.json
- Click on the "SHOW BLAME" text.
- Click on one of the dated lines on the left hand side. They should all take you to commit 96a9d2ed07b89fb46a873961fd31e7ce901b475f but instead you get a 404 page at URL https://gerrit.wikimedia.org/q/96a9d2ed07b89fb46a873961fd31e7ce901b475f
Looks like the generated URL really needs to be
https://gerrit.wikimedia.org/r/q/96a9d2ed07b89fb46a873961fd31e7ce901b475f
(i.e., prefixed with /r/)