This is because the + sign is treated as a space in queries and you are 
rewriting paths to queries.

This is a known issue with using rewrite rules (which are basically a 
poor hack) to manage short urls. The best way to do short urls is with a 
Alias line which can only be done if you have root access to the webserver.

Though, I also have an even better method for nginx users.

~Daniel Friesen (Dantman, Nadir-Seen-Fire)
~Profile/Portfolio: http://nadir-seen-fire.com
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--The ElectronicMe project (http://electronic-me.org)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
--Animepedia (http://anime.wikia.com)
--Narutopedia (http://naruto.wikia.com)

Wikimini wrote:
> Hi,
>
> First sorry for my poor english.
>
> I'm running Mediawiki 1.13.0 on a production web site for children and
> noticed a (big) problem on users pages whose names contain a "+".
>
> Here is an example with user P6++
>
> When I access :
>  > http://fr.wikimini.org/wiki/Utilisateur:P6++,
> I'm redirected to :
>   
>> http://fr.wikimini.org/wiki/Utilisateur:P6 (without ++) !!!
>>     
>
> I've just created a similar account on Wikipedia fort testing purposes.
>
> When I access :
>   
>> http://fr.wikipedia.org/wiki/Utilisateur:Z6++
>>     
> I get the page :
>   
>> http://fr.wikipedia.org/wiki/Utilisateur:Z6++ (with ++) !!!
>>     
>
> Actually the problem seems to be specific to the "+" sign. For example,
> http://fr.wikimini.org/wiki/Utilisateur:!!!$$zOuzOu$$!!! is working fine!
>
> This problem is really annoying as the
> http://fr.wikimini.org/wiki/Utilisateur:P6++ page shows an empty page even
> if there is some content on it!
>
> Could someone help?
>
> -------------------------------------------------------------------------------------------------
> HTACCESS info:
>
> In the root, I have an htaccess file with the following content:
>
> RewriteEngine on
> Options +FollowSymlinks
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA]
> Options -Indexes
>
> In the fr folder, I have another htaccess file with the following content:
>
> RewriteEngine on
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^wiki/(.+)$ /wiki/index.php?title=$1 [L,QSA]
>
> -------------------------------------------------------------------------------------------------
>
> Thank you for your help!
>
> Laurent
>   


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to