Page MenuHomePhabricator

noc.wikimedia.org incorrect raw file urls
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Open https://noc.wikimedia.org/conf/highlight.php?file=dblists/all.dblist
  2. Click "raw file"

Expected behavior
This should open https://noc.wikimedia.org/conf/dblists/all.dblist

Current behavior
It opens https://noc.wikimedia.org/conf/dblists/all.dblist.txt (HTTP 404)

Pinging @Aklapper (superfluous I know) as he last touched the line of code

Event Timeline

Dvorapa updated the task description. (Show Details)

It seems in some cases .txt is needed and in some cases .txt is unwanted: T227606

Change 591459 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] noc.wikimedia.org: highlight.php should not append .txt to dblist URLs

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

Change 591459 merged by jenkins-bot:
[operations/mediawiki-config@master] noc: Fix highlight.php to not append .txt to dblist URLs

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