Page MenuHomePhabricator

Special:Redirect does not work for blocked IP ranges
Closed, ResolvedPublic

Description

Trying to download a file from Wikipedia via [[Special:Redirect]] on Labs.

Works fine for enwiki:
wget -O - 'https://en.wikipedia.org/wiki/Special:Redirect/file/Example.jpg' | less -S
<long flood of binary>

On dewiki, however:
wget -O - 'https://de.wikipedia.org/wiki/Special:Redirect/file/Example.jpg' | less -S
<HTML with "write block" warning>

Expected result: binary data.

It appears to be this block:
https://de.wikipedia.org/w/index.php?title=Spezial%3ALogbuch&type=block&user=&page=Benutzer%3A10.68.0.0%2F16&year=&month=-1&tagfilter=
which prevents a WMF IP range from creating user accounts.

tl;dr: [[Special:Redirect]] should not require write rights.

Event Timeline

Magnus raised the priority of this task from to Needs Triage.
Magnus updated the task description. (Show Details)
Magnus subscribed.

Change 246699 had a related patch set uploaded (by Glaisher):
Make Special:Redirect work for blocked users and in read-only mode

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

Change 246699 merged by jenkins-bot:
Make Special:Redirect work for blocked users and in read-only mode

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

Glaisher claimed this task.