Last modified: 2005-05-22 12:38:25 UTC
As described at [[Wikipedia:Naming_conventions_(technical_restrictions)]], it is not possible to link to a page that begins with a slash. This is due to the code that checks for subpages; even though subpages are disabled in the main namespace of Wikipedia, leading slashes are stripped from links. I think it is simple to fix this; when subpages are disabled in a namespace, don't strip off leading slashes from links, rather treat links beginning with slashes like any other link. Workaround: use / instead of a slash character in the link. But in my opinion, modifying the code to accept links beginning with slashes would be more intuitive for editors.
Created attachment 29 [details] Patch to not strip leading slashes when subpages are disabled
Comment on attachment 29 [details] Patch to not strip leading slashes when subpages are disabled Marking the attachment as obsolete since it doesn't apply to REL1_4 or HEAD.
Closing the bug as INVALID, it is possible to link to these pages, if you want to link to a page named "/asdf" from the main namespace you make a link like [[/asdf]], if you want to link to it from any other namespace you make a link like [[:/asdf]]. Please reopen the bug if the problem persists and provide a detailed explanation of how to reproduce it.
See also bug 98 and bug 2088.