On Sat, 26 Mar 2005 23:25:08 -0800, Brion Vibber <brion(a)pobox.com> wrote:
Lee Daniel Crocker wrote:
(Ryan
Rempel <rgrempel(a)gmail.com>)m>):
I'm starting a new intranet-style wiki, and I'd like to make the wiki
links fully case-insensitive.
You should be able to get away with only changing a few things in
Title.php, to make the DB form, display form, and URL form all case
folded.
If you want to force all titles to all-lowercase that might work well
enough. Search for instances of $wgCapitalLinks for the code that does
the first-letter normalization to find places you'd want to change to do
it this way.
This wouldn't be sufficient to get a decent user experience in general
(eg for any of Wikimedia's sites); titles pulled from the database would
only be available in the folded (eg lowercase) form, but most people
wouldn't be too happy about article titles like "washington, d.c." and
"ibm".
Making it work well would require storing the display form as well in a
few places, which would require schema changes, and some additional
provsions for changing the display form, etc.
Ah, I wouldn't want to force all the titles to lowercase -- I guess I
meant case-insensitive and case-preserving (or something like that).
I'll have to think through exactly what I want and take a look at the
code -- the implications will probably be clearer to me once I have
more experience.