Then the first place to look into is the short URL
algorithm. It is not a
MediaWiki bug I guess, and not one of Apache or PHP (because the page
content is not touched). It only happens to the URL, so it is probably
related to the URL rewriting. I'm not good in Apache rewrites; maybe someone
else can help you with that.
Huji
On Feb 7, 2008 10:31 PM, Matthew Vickery <vickery.matthew(a)gmail.com> wrote:
Sorry Huji, An apostrophe in the
"content" of the page appears
correctly as an apostrophe both before and after the page has been
saved.
Hope this helps?
Matthew
On 07/02/2008, Huji <huji.huji(a)gmail.com> wrote:
You still didn't tell what happens if you put
an apostrophe in the
"content"
of the page and save it. Does that also change to
a question mark?
On Feb 7, 2008 7:55 PM, Matthew Vickery <vickery.matthew(a)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://%{HTTP_HOST}%{REQUEST_URI}
Hope this will shed some light!
Matthew
On 06/02/2008, Thomas Dalton <thomas.dalton(a)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(a)lists.wikimedia.org
>
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org