Re: Weird page capitalization issues on my wiki

classic Classic list List threaded Threaded
19 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Daniel Bolser
Did this get through to the list? I'm not seeing it turn up in my
inbox with the list header...

On 18 April 2011 12:50, Dan Bolser <[hidden email]> wrote:

> Hi,
>
> All these URL resolve to the *same* underlying page, but in all cases
> (except the one with the correct capitalization), links to the talk
> page appear broken.
>
> * http://www.bioinformatics.org/wiki/BioWiki # Correct
> * http://www.bioinformatics.org/wiki/Biowiki
> * http://www.bioinformatics.org/wiki/BIOWIKI
> * http://www.bioinformatics.org/wiki/biowiki
> * http://www.bioinformatics.org/wiki/bIoWiKi
> * http://www.bioinformatics.org/wiki/bioWiki # Also works
>
>
> Something very weird seems to be going on, but I don't know what!
>
> Please let me know what additional details I should provide:
>
> http://www.bioinformatics.org/w/api.php?action=query&meta=siteinfo
>
>
> Dan.
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Kilian-3
On 04/19/2011 10:01 AM, Dan Bolser wrote:

> On 18 April 2011 12:50, Dan Bolser<[hidden email]>  wrote:
>> Hi,
>>
>> All these URL resolve to the *same* underlying page, but in all cases
>> (except the one with the correct capitalization), links to the talk
>> page appear broken.
>>
>> * http://www.bioinformatics.org/wiki/BioWiki # Correct
>> * http://www.bioinformatics.org/wiki/Biowiki
>> * http://www.bioinformatics.org/wiki/BIOWIKI
>> * http://www.bioinformatics.org/wiki/biowiki
>> * http://www.bioinformatics.org/wiki/bIoWiKi
>> * http://www.bioinformatics.org/wiki/bioWiki # Also works
>>
>>
>> Something very weird seems to be going on, but I don't know what!

Weird indeed. Did you try

1) upgrading MediaWiki to the latest stable version,

2) try disabling extensions one by one to see if the problem is caused
by one of them?

Cheers,
Kilian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Daniel Bolser
On 19 April 2011 10:11, Kilian <[hidden email]> wrote:

> On 04/19/2011 10:01 AM, Dan Bolser wrote:
>> On 18 April 2011 12:50, Dan Bolser<[hidden email]>  wrote:
>>> Hi,
>>>
>>> All these URL resolve to the *same* underlying page, but in all cases
>>> (except the one with the correct capitalization), links to the talk
>>> page appear broken.
>>>
>>> * http://www.bioinformatics.org/wiki/BioWiki # Correct
>>> * http://www.bioinformatics.org/wiki/Biowiki
>>> * http://www.bioinformatics.org/wiki/BIOWIKI
>>> * http://www.bioinformatics.org/wiki/biowiki
>>> * http://www.bioinformatics.org/wiki/bIoWiKi
>>> * http://www.bioinformatics.org/wiki/bioWiki # Also works
>>>
>>>
>>> Something very weird seems to be going on, but I don't know what!
>
> Weird indeed. Did you try
>
> 1) upgrading MediaWiki to the latest stable version,

Yes.


> 2) try disabling extensions one by one to see if the problem is caused
> by one of them?

Not yet. Hmm... doesn't happen with this page:
http://www.bioinformatics.org/wiki/SpeciaL:VersioN


> Cheers,
> Kilian
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Peter Velan
In reply to this post by Kilian-3
am 19.04.2011 11:11 schrieb Kilian:

> On 04/19/2011 10:01 AM, Dan Bolser wrote:
>> On 18 April 2011 12:50, Dan Bolser<[hidden email]>  wrote:
>>> Hi,
>>>
>>> All these URL resolve to the *same* underlying page, but in all cases
>>> (except the one with the correct capitalization), links to the talk
>>> page appear broken.
>>>
>>> * http://www.bioinformatics.org/wiki/BioWiki # Correct
>>> * http://www.bioinformatics.org/wiki/Biowiki
>>> * http://www.bioinformatics.org/wiki/BIOWIKI
>>> * http://www.bioinformatics.org/wiki/biowiki
>>> * http://www.bioinformatics.org/wiki/bIoWiKi
>>> * http://www.bioinformatics.org/wiki/bioWiki # Also works
>>>
>>>
>>> Something very weird seems to be going on, but I don't know what!
>
> Weird indeed.

No, its not weird, see:
http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks

Gruß -pv

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Kilian-3
On 04/19/2011 04:19 PM, Peter Velan wrote:
> No, its not weird, see:
> http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks

This is only about the case of the *first* letter of a page title. It
does not explain Dan's issue.

- Kilian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Peter Velan
am 19.04.2011 23:38 schrieb Kilian:
> On 04/19/2011 04:19 PM, Peter Velan wrote:
>> No, its not weird, see:
>> http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
>
> This is only about the case of the *first* letter of a page title. It
> does not explain Dan's issue.

I think it does explain Dan's issue ...

1 * http://www.bioinformatics.org/wiki/BioWiki # Correct
2 * http://www.bioinformatics.org/wiki/Biowiki
3 * http://www.bioinformatics.org/wiki/BIOWIKI
4 * http://www.bioinformatics.org/wiki/biowiki
5 * http://www.bioinformatics.org/wiki/bIoWiKi
6 * http://www.bioinformatics.org/wiki/bioWiki # Also works

- 1 and 6: difference in *first* letter of page name only
- 2, 3, 4 and 5: case differences *inside* of page name

Cheers,
Peter

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Peter Velan
am 20.04.2011 09:33 schrieb Peter Velan:

> am 19.04.2011 23:38 schrieb Kilian:
>> On 04/19/2011 04:19 PM, Peter Velan wrote:
>>> No, its not weird, see:
>>> http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
>>
>> This is only about the case of the *first* letter of a page title. It
>> does not explain Dan's issue.
>
> I think it does explain Dan's issue ...
>
> 1 * http://www.bioinformatics.org/wiki/BioWiki # Correct
> 2 * http://www.bioinformatics.org/wiki/Biowiki
> 3 * http://www.bioinformatics.org/wiki/BIOWIKI
> 4 * http://www.bioinformatics.org/wiki/biowiki
> 5 * http://www.bioinformatics.org/wiki/bIoWiKi
> 6 * http://www.bioinformatics.org/wiki/bioWiki # Also works
>
> - 1 and 6: difference in *first* letter of page name only
> - 2, 3, 4 and 5: case differences *inside* of page name

Sorry, I think my answer is not an answer at all ;-)

- a wiki page name is generally case sensitive
  but the 1st letter.

- for 1st letter only, special rule ...
  http://www.mediawiki.org/wiki/Manual:$wgCapitalLinks
  ... apply.

Cheers,
Peter

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Kilian-3
In reply to this post by Daniel Bolser
Dan,

On 04/19/2011 02:08 PM, Dan Bolser wrote:
> All these URL resolve to the*same*  underlying page

are you sure? On closer inspection, it seems to me that five different
pages with the same content exist on your wiki.

Best,
Kilian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Sullivan, James (NIH/CIT) [C]
The "All pages" special page shows just one of the pages: BioWiki, which was indicated as the true page name in the original post.

Just a guess but there are a lot of extensions installed.  I agree with the earlier person who suggested deactivating the extensions one at a time and seeing if the behavior disappears.  And since Semantic extensions are installed and this problem seems to be a matter of semantics, I would start with those extensions.

-Jim

-----Original Message-----
From: Kilian [mailto:[hidden email]]
Sent: Wednesday, April 20, 2011 10:03 AM
To: [hidden email]
Subject: Re: [Mediawiki-l] Weird page capitalization issues on my wiki

Dan,

On 04/19/2011 02:08 PM, Dan Bolser wrote:
> All these URL resolve to the*same*  underlying page

are you sure? On closer inspection, it seems to me that five different
pages with the same content exist on your wiki.

Best,
Kilian

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

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Kilian-3
On 04/20/2011 04:12 PM, Sullivan, James (NIH/CIT) [C] wrote:
> The "All pages" special page shows just one of the pages: BioWiki,
> which was indicated as the true page name in the original post.
>
> Just a guess but there are a lot of extensions installed.  I agree
> with the earlier person who suggested deactivating the extensions one
> at a time and seeing if the behavior disappears.  And since Semantic
> extensions are installed and this problem seems to be a matter of
> semantics, I would start with those extensions.

I agree. MediaWiki's normal behavior would be to respond with empty
pages on requests with incorrect capitalizations of the title. (Except,
of course, when only the first letter is incorrectly cased.) (Earlier I
was under the wrong impression MediaWiki had some sort of built-in
auto-redirect in such cases, which explains my earlier confused posts.)
It must be an extension that changes this behavior. (And does so kind of
poorly, because the capitalization is not corrected in the displayed
title, and does not cause links with incorrect capitalizations, such as
[[Talk:Biowiki]], to be displayed in blue.)

- Kilian

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Daniel Bolser
Sorry for missing all this discussion, you all see to understand the
problem correctly, so it's back to me to try the suggested fix...

So for simplicity I just tried disabling *all* extensions on the wiki
in one go, and I'm seeing exactly the same behavior as described
before, so I don't think it's anything to do with any of my installed
extensions.

With regard to the comment that "this problem seems to be a matter of
semantics", it was just my bad choice of example page. The page I used
as a demonstration uses lots of fancy forms, tabs and queries, but the
same problem occurs on any other page, including the Main Page (but
not the special pages).

I'm thinking that it could be an issue with apache redirect configuration?


For reference, here is my LocalSettings and AdditionalSettings files:
https://gist.github.com/edfd487f152048f5e34d


Cheers,
Dan.

On 20 April 2011 15:22, Kilian <[hidden email]> wrote:

> On 04/20/2011 04:12 PM, Sullivan, James (NIH/CIT) [C] wrote:
>> The "All pages" special page shows just one of the pages: BioWiki,
>> which was indicated as the true page name in the original post.
>>
>> Just a guess but there are a lot of extensions installed.  I agree
>> with the earlier person who suggested deactivating the extensions one
>> at a time and seeing if the behavior disappears.  And since Semantic
>> extensions are installed and this problem seems to be a matter of
>> semantics, I would start with those extensions.
>
> I agree. MediaWiki's normal behavior would be to respond with empty
> pages on requests with incorrect capitalizations of the title. (Except,
> of course, when only the first letter is incorrectly cased.) (Earlier I
> was under the wrong impression MediaWiki had some sort of built-in
> auto-redirect in such cases, which explains my earlier confused posts.)
> It must be an extension that changes this behavior. (And does so kind of
> poorly, because the capitalization is not corrected in the displayed
> title, and does not cause links with incorrect capitalizations, such as
> [[Talk:Biowiki]], to be displayed in blue.)
>
> - Kilian
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Sullivan, James (NIH/CIT) [C]
>I'm thinking that it could be an issue with apache redirect configuration?

I agree.  If you disabled all extensions (make sure you also changed back any Mediawiki files you may have modified due to a requirement of an extension), then its not a Mediawiki problem and most likely an Apache configuration issue.  You also might want to install a fresh Mediawiki instance so you can see if you get this behavior "out of the box" with Mediawiki.  If you do then that also points to Apache.  I'm not an Apache expert though, so have no idea what type of Apache configuration might cause this.

-Jim

On 20 April 2011 15:22, Kilian <[hidden email]> wrote:

> On 04/20/2011 04:12 PM, Sullivan, James (NIH/CIT) [C] wrote:
>> The "All pages" special page shows just one of the pages: BioWiki,
>> which was indicated as the true page name in the original post.
>>
>> Just a guess but there are a lot of extensions installed.  I agree
>> with the earlier person who suggested deactivating the extensions one
>> at a time and seeing if the behavior disappears.  And since Semantic
>> extensions are installed and this problem seems to be a matter of
>> semantics, I would start with those extensions.
>
> I agree. MediaWiki's normal behavior would be to respond with empty
> pages on requests with incorrect capitalizations of the title. (Except,
> of course, when only the first letter is incorrectly cased.) (Earlier I
> was under the wrong impression MediaWiki had some sort of built-in
> auto-redirect in such cases, which explains my earlier confused posts.)
> It must be an extension that changes this behavior. (And does so kind of
> poorly, because the capitalization is not corrected in the displayed
> title, and does not cause links with incorrect capitalizations, such as
> [[Talk:Biowiki]], to be displayed in blue.)
>
> - Kilian
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

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

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Svip
On 25 April 2011 15:24, Sullivan, James (NIH/CIT) [C]
<[hidden email]> wrote:

> I agree.  If you disabled all extensions (make sure you also changed back any Mediawiki files
> you may have modified due to a requirement of an extension), then its not a Mediawiki problem
> and most likely an Apache configuration issue.  You also might want to install a fresh Mediawiki
> instance so you can see if you get this behavior "out of the box" with Mediawiki.  If you do then
> that also points to Apache.  I'm not an Apache expert though, so have no idea what type of
> Apache configuration might cause this.

What?  How is this in any way an Apache issue?  Apache tells MediaWiki
the correct title, and MediaWiki somehow decides to respond with the
title being a-okay.

If it was an Apache issue, then why does MediaWiki think that the page
title is BIOWIKI here[1]?  It even takes the effort of linking to a
talk page that does not exist and colours the link red as it should.
Or does MediaWiki use LOWER() in its SQL, but use the $_GET['title']
for its links, rather than using the {{PAGENAME}} given by the table?

Also, you appear to have your version installed via subversion,[2] I
am certain r86390 is that different from the MediaWiki 1.16.4
available on mw.org (which does not have this bug).

[1] http://www.bioinformatics.org/wiki/BIOWIKI
[2] http://www.bioinformatics.org/wiki/Special:Version

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Daniel Bolser
On 25 April 2011 14:45, Svip <[hidden email]> wrote:

> On 25 April 2011 15:24, Sullivan, James (NIH/CIT) [C]
> <[hidden email]> wrote:
>
>> I agree.  If you disabled all extensions (make sure you also changed back any Mediawiki files
>> you may have modified due to a requirement of an extension), then its not a Mediawiki problem
>> and most likely an Apache configuration issue.  You also might want to install a fresh Mediawiki
>> instance so you can see if you get this behavior "out of the box" with Mediawiki.  If you do then
>> that also points to Apache.  I'm not an Apache expert though, so have no idea what type of
>> Apache configuration might cause this.
>
> What?  How is this in any way an Apache issue?  Apache tells MediaWiki
> the correct title, and MediaWiki somehow decides to respond with the
> title being a-okay.
>
> If it was an Apache issue, then why does MediaWiki think that the page
> title is BIOWIKI here[1]?  It even takes the effort of linking to a
> talk page that does not exist and colours the link red as it should.
> Or does MediaWiki use LOWER() in its SQL, but use the $_GET['title']
> for its links, rather than using the {{PAGENAME}} given by the table?
>
> Also, you appear to have your version installed via subversion,[2] I
> am certain r86390 is that different from the MediaWiki 1.16.4
> available on mw.org (which does not have this bug).

svn info gives me:

URL: http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_16/phase3


svn update gives me:

At revision 86859.


(I've had this problem on this wiki since before 1.15).


I just ran 'php maintenance/update.php' [1], but there seems to be no
improvement.

OK, if not Apache, how about MySQL?


Thanks for looking at this problem,
Dan.

[1] https://gist.github.com/6213b33aeb5264ed0dab


> [1] http://www.bioinformatics.org/wiki/BIOWIKI
> [2] http://www.bioinformatics.org/wiki/Special:Version
>
> _______________________________________________
> MediaWiki-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Sullivan, James (NIH/CIT) [C]
In reply to this post by Svip
Svip is right, of course ... (my morning caffiene had not taken effect yet).  Apache should also not have anything to do with the capitalizations of the page names on the page.  If all extensions were removed/disabled then either something was left behind, such as a modification in the includes directory, or an extension has modified the database. Do pages created after disabling the extensions have this behavior?

A fresh install of mediawiki would help clear some of this up.  If a fresh install does not have this behavior, then your Mediawiki or the database has been modified, most likely by an extension.

As for whether its MySQL I don't see how since Mediawiki, or the extensions, control what goes in and what comes out.  

Back to the caffiene...

-Jim

-----Original Message-----
From: Svip [mailto:[hidden email]]
Sent: Monday, April 25, 2011 9:46 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Weird page capitalization issues on my wiki

On 25 April 2011 15:24, Sullivan, James (NIH/CIT) [C]
<[hidden email]> wrote:

> I agree.  If you disabled all extensions (make sure you also changed back any Mediawiki files
> you may have modified due to a requirement of an extension), then its not a Mediawiki problem
> and most likely an Apache configuration issue.  You also might want to install a fresh Mediawiki
> instance so you can see if you get this behavior "out of the box" with Mediawiki.  If you do then
> that also points to Apache.  I'm not an Apache expert though, so have no idea what type of
> Apache configuration might cause this.

What?  How is this in any way an Apache issue?  Apache tells MediaWiki
the correct title, and MediaWiki somehow decides to respond with the
title being a-okay.

If it was an Apache issue, then why does MediaWiki think that the page
title is BIOWIKI here[1]?  It even takes the effort of linking to a
talk page that does not exist and colours the link red as it should.
Or does MediaWiki use LOWER() in its SQL, but use the $_GET['title']
for its links, rather than using the {{PAGENAME}} given by the table?

Also, you appear to have your version installed via subversion,[2] I
am certain r86390 is that different from the MediaWiki 1.16.4
available on mw.org (which does not have this bug).

[1] http://www.bioinformatics.org/wiki/BIOWIKI
[2] http://www.bioinformatics.org/wiki/Special:Version

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Svip
On 25 April 2011 16:13, Sullivan, James (NIH/CIT) [C]
<[hidden email]> wrote:

> As for whether its MySQL I don't see how since Mediawiki, or the extensions, control
> what goes in and what comes out.

Well, it is technically possible, it could be MySQL, since MySQL can
be set to be case insensitive.  Though, this just proves that
MediaWiki shouldn't rely on finding the page title in the database,
but also take the page title returned by MySQL (which would be the
correct case).

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Daniel Bolser
On 25 April 2011 15:14, Svip <[hidden email]> wrote:

> On 25 April 2011 16:13, Sullivan, James (NIH/CIT) [C]
> <[hidden email]> wrote:
>
>> As for whether its MySQL I don't see how since Mediawiki, or the extensions, control
>> what goes in and what comes out.
>
> Well, it is technically possible, it could be MySQL, since MySQL can
> be set to be case insensitive.  Though, this just proves that
> MediaWiki shouldn't rely on finding the page title in the database,
> but also take the page title returned by MySQL (which would be the
> correct case).

I'll try to see if mysql is running in a case insensitive locale, and
I'll try installing a fresh install pointing at a fresh database.

Cheers,
Dan.


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

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Sullivan, James (NIH/CIT) [C]

-----Original Message-----
From: Dan Bolser [mailto:[hidden email]]
Sent: Monday, April 25, 2011 2:06 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Weird page capitalization issues on my wiki

On 25 April 2011 15:14, Svip <[hidden email]> wrote:

> On 25 April 2011 16:13, Sullivan, James (NIH/CIT) [C]
> <[hidden email]> wrote:
>
>> As for whether its MySQL I don't see how since Mediawiki, or the extensions, control
>> what goes in and what comes out.
>
> Well, it is technically possible, it could be MySQL, since MySQL can
> be set to be case insensitive.  Though, this just proves that
> MediaWiki shouldn't rely on finding the page title in the database,
> but also take the page title returned by MySQL (which would be the
> correct case).

--I'll try to see if mysql is running in a case insensitive locale, and
--I'll try installing a fresh install pointing at a fresh database.

You might also want to check the variable type of the page title in the page table.  The variable type itself could be set to case insensitive, which an extension may have done.  For example, here's a web page I found describing how to set the Mediawiki DB to allow case insensitive titles and what it describes may be something to look for in case one of your extensions did the same.

-Jim


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

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

_______________________________________________
MediaWiki-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Weird page capitalization issues on my wiki

Svip
In reply to this post by Daniel Bolser
On 25 April 2011 20:06, Dan Bolser <[hidden email]> wrote:

> I'll try to see if mysql is running in a case insensitive locale, and
> I'll try installing a fresh install pointing at a fresh database.

Can we see your _page table structure?

If you have SQL input access, do DESCRIBE `prefix_page`;

You may find this article interesting:
http://dev.mysql.com/doc/refman/5.0/en/case-sensitivity.html

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