[Mediawiki-l] Template title case-sensitivity: bug or feature?

Brion Vibber brion at pobox.com
Wed Jan 10 01:59:40 UTC 2007

Hash: SHA1

Jeff Lane wrote:
> We're working on upgrading our 1.4.12 wiki to 1.9.0.
> One thing I discovered is that template usages in 1.8.2 and 1.9.0 now
> require correctly matching title case. This was not the case in 1.4.12.

I'm quite sure this has *always* been the case.

MediaWiki doesn't have any sort of case-insensitive title matching
(except for the first letter when set to capitalize titles, as default).

> i.e. For Template:NavBar, pages that worked previously with {{Navbar}} in
> the wikitext are now broken links. Switching it to {{NavBar}} fixes the
> inclusion.
> My first question, is this a bug or a feature? You can't safely have
> Template:NavBar and Template:Navbar in the same wiki database anyway,
> correct?

Yes, you may have Template:NavBar and Template:Navbar.

Some day we may have full case-insensitivity but we never have yet.

> Unfortunately we now have a large number (over 1,000) of broken template
> links in our site if we upgrade. One possible solution is to use redirects
> from the improperly capitalized templates to the correct ones, which could
> probably be done mostly with a XML import. Any issues with that solution?

Redirects are the only way to have accomplished this in the first place,
as far as I know.

- -- brion vibber (brion @ pobox.com)
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the MediaWiki-l mailing list