Last modified: 2012-10-27 14:29:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11970 - Ending slash trimmed in relative links to subpages
Ending slash trimmed in relative links to subpages
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.wikipedia.org/wiki/User:D...
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-14 05:28 UTC by Danny B.
Modified: 2012-10-27 14:29 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Danny B. 2007-11-14 05:28:05 UTC
The following syntaxes render as link to /sub instead of /sub/

* [[/sub/]]
* [[/sub/|]]
* [[/sub/|sub]]
Comment 1 Matěj Grabovský 2011-06-26 18:18:58 UTC
Should we allow (sub)pages with empty name, though?

In my opinion, we should just normalize the absolute links to trim the slash as well and disallow such pages altogether.
Comment 2 db [inactive,noenotif] 2012-10-27 14:26:57 UTC
This is like that linking feature is designed.
In Linker::normalizeSubpageLink you find the comment

 / at end means we don't want the slash to be shown

At that is done, so this bug is INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links