[MediaWiki-l] Painful Short-URL

kghbln mediawiki at kghoffmeyer.de
Thu Mar 31 18:19:10 UTC 2016


I guess you might very well be right. Is there an Apache setting which
controls such a mess? Needless to say that this is shared hosing.

Am 31.03.2016 um 20:15 schrieb John:
> at fist glance it looks like your web server is mangling the encoding.
> 
> On Thu, Mar 31, 2016 at 2:11 PM, kghbln <mediawiki at kghoffmeyer.de> wrote:
> 
>> Heiya,
>>
>> this is painful for me.
>>
>> There is a wiki accessible with the following logic:
>>
>> "http://example.com/wiki/Main_Page"
>>
>> When I edit I have:
>>
>> "http://example.com/w/index.php?title=Main_Page&action=edit"
>>
>> To get this magic running I have the following RewriteRules:
>>
>> RewriteEngine On
>> RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
>> RewriteRule ^/?$ %{DOCUMENT_ROOT}/w/index.php [L]
>>
>> And in "LocalSettings.php":
>>
>> $wgScriptPath = "/w";
>> $wgScriptExtension = ".php";
>> $wgArticlePath = "/wiki/$1";
>> $wgUsePathInfo = true; // true or false does not make a difference
>>
>> Everything is cool until I dare to try accessing a page containing a
>> special character, e.g. "http://example.com/wiki/So_ein_Ärger" and end
>> up in an indefinite redirect loop.
>>
>> This wiki is a MW 1.26.2.
>>
>> Any hint out there? Never encountered anything similar. Admittedly not
>> my first wiki.
>>
>> Thanks and cheers
>>
>> Karsten
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> To unsubscribe, go to:
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 



More information about the MediaWiki-l mailing list