Page MenuHomePhabricator

Namespace aliases in URL should redirect to local namespace name when querystring in URL
Open, LowPublic

Details

Reference
bz24925

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:05 PM
bzimport set Reference to bz24925.
bzimport added a subscriber: Unknown Object (MLST).

Tested on trunk, 1.16, 1.15 and 1.14 branches, the behavior is always the same: no redirection. I don't see any regression here.

Note for Nemo: special pages are treated separately.

(In reply to comment #2)

Tested on trunk, 1.16, 1.15 and 1.14 branches, the behavior is always the same:
no redirection. I don't see any regression here.

If it used to work and it doesn't work now, it apparently must be some regression. The only question is, where - please mind my footnote in comment #0.

What exactly did you test? Also please mind, that WMF runs a bit different version of MediaWiki.

(In reply to comment #3)

If it used to work and it doesn't work now, it apparently must be some
regression.

The problem is that I don't remember that those URLs were redirecting. The code is supposed to redirect only when there's no other query string parameter as title (action can be there, but only set to "view"); it has always been the same code since ages.

What exactly did you test? Also please mind, that WMF runs a bit different
version of MediaWiki.

I tested the case 2) on my local machine. The code actually running on WMF site is essentially MediaWiki 1.16.0.

Krinkle set Security to None.
Krinkle edited projects, added MediaWiki-General; removed MediaWiki-Redirects.
Krinkle removed a subscriber: wikibugs-l-list.
TTO renamed this task from Namespace aliases in URL no longer redirect to local namespace name when querystring in URL to Namespace aliases in URL should redirect to local namespace name when querystring in URL.Aug 31 2015, 11:00 AM
TTO updated the task description. (Show Details)
TTO removed a project: Regression.