PS: I'm not using .htaccess to create short URLs. Instead I'm using the Alias method as described here:
http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_Aliasing_method...
Matthew
On 07/02/2008, Matthew Vickery vickery.matthew@gmail.com wrote:
Thanks for your responses. Here are some answers to your questions.
If I create a new page with an apostrophe in the title (e.g. What's_in_Season_this_Month) and some text in the body and save it. When I follow a Wikilink to the page the page is not found and I get the message below and the apostrophe in the page title is converted to a question mark (What?s in Season this Month):
'There is currently no text in this page, you can search for this page title in other pages or edit this page'
The edit link in the message above the brings me to a blank edit screen:
/w/index.php?title=What%3Fs_in_Season_this_Month&action=edit
Where the apostrophe has been replaced with %3F rather than %27
%3F being a question mark and %27 being an apostrophe.
The only way I can access the body of the page is to manually type an edit URL as follows:
/w/index.php?title=What%27s_in_Season_this_Month&action=edit
Here is my .htaccess code:
# Don't show directory listings for URLs which map to a directory. Options All -Indexes
# Force all traffic to use secure connection RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%%7BHTTP_HOST%7D%%7BREQUEST_URI%7D
Hope this will shed some light!
Matthew
On 06/02/2008, Thomas Dalton thomas.dalton@gmail.com wrote:
Also, what version of MediaWiki are you using? (Paste it from Special:Version)
He already said:
"My Wiki installation is as follows:
MediaWiki: 1.10.0 PHP: 5.2.2 (apache2handler) MySQL: 4.1.20"
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l