Mediawiki script is used for different kind of sites. It could be a good idea to study a way to let links to have all characters including special characters. This because could be necessary to create a link includind chars as +, #, etc. as discussed in a previous post. Personally I use Mediawiki for a site about programming anda often happen that I need creating a ling as [[C++]], [[C#]] and other. Is this a featur requested also by other people? What do you think about? Thanks.
Giovanni Putignano Italy
Giovanni wrote:
Mediawiki script is used for different kind of sites. It could be a good idea to study a way to let links to have all characters including special characters. This because could be necessary to create a link includind chars as +, #, etc. as discussed in a previous post. Personally I use Mediawiki for a site about programming anda often happen that I need creating a ling as [[C++]], [[C#]] and other. Is this a featur requested also by other people? What do you think about?
I tried, but you can't put + or %2B in URLs because either of them is converted to space, and Brion wouldn't let me double-escape. You would have to break the correspondence between URLs and page titles, and that's tricky. It's probably the best way to procede, though, because it would allow various other things like lower-case initial letters.
These characters: []|#{} are required for link syntax. In principle we could implement some kind of escaping (e.g. [[C# programming language#Section 2]]), but it hasn't been requested to my knowledge.
The angle brackets <> are disallowed to prevent various cross-site scripting attacks. Titles are often output into HTML without further escaping.
The percent character should be disabled but it isn't.
-- Tim Starling
wikitech-l@lists.wikimedia.org