Page MenuHomePhabricator

Trailing slashes should be ignored when subpages are enabled
Closed, ResolvedPublic

Description

Author: nickpj

Description:
http://en.wikipedia.org/wiki/Fish/
should just open
http://en.wikipedia.org/wiki/Fish
since "$wgNamespacesWithSubpages[NS_MAIN] = true;"


Version: 1.11.x
Severity: enhancement

Details

Reference
bz11747

Event Timeline

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

Better if trailing slashes were always ignored. Ignoring depending on that setting would easily shadow pages.

One note is that the / may be quite legitimately distinct in special page parameters.

Eg, there's a significant difference between:

http://en.wikipedia.org/wiki/Special:Prefixindex/OS

and

http://en.wikipedia.org/wiki/Special:Prefixindex/OS/

(Particuarly when doing subpage listings.)

herd wrote:

*** This bug has been marked as a duplicate of bug 3368 ***