Andrew n marshall wrote:
Rob Church wrote:
You need to add "+" to the list of
allowed title characters. Read the
comments above $wgLegalTitleChars in includes/DefaultSettings.php
first.
From the comment:
+ Doesn't work with path to query
rewrite rules, corrupted by
apache
? Enabled by default, but doesn't work with path to PATH_INFO
rewrites
All three of these punctuation problems can be avoided by using an
alias, instead of a
rewrite rule of either variety.
Does this mean Wikipedia is using an alias to get /wiki/C%2B%2B (that
is, "/wiki/C++" url encoded) to work?
I'm not sure what you mean. We use an alias to get /wiki/Anything to work. An
alias also has benefits over a rewrite rule in that it doesn't foul up the
already-encoded 'special URL characters'.
The comment doesn't reference problems with the
'#' character (as in the
C# programming language). Are there known problems with that as well?
# is the separator between a title and a fragment identifier. It cannot be made
legal as an actual title character or you'll break all section links.
-- brion vibber (brion @
pobox.com)