00379: Letter following hyphen/dash in page name not capitalized anymore

Summary: Letter following hyphen/dash in page name not capitalized anymore
Created: 2005-03-10 13:44
Status: Closed - not a bug
Category: Bug
Assigned:
Priority: 5
Version: 2.0.beta22
OS: Fedora Core 2/Apache/PHP 4.3.10

Description: When I link to a page that has a hyphen/dash (-) in its name, the letter following the hyphen used to be capitalized, giving page names like

Main.Least-SquaresAlignment
Main.NotesOnIdealizingTheC-Beta
Main.WhatCanBePrintedIn3-D

Now the letter following is not capitalized, so my old page files aren't found. Links go to

Main.Least-squaresAlignment
Main.NotesOnIdealizingTheC-beta
Main.WhatCanBePrintedIn3-D (this one is OK b/c I used a capital D in writing the link out for the wiki)

Obviously I'm using [[...]] style links. As far as I know, this is a regression between ~ beta8 and beta22.

Thanks!

(More info: iwd32900@yahoo.com)


This is not technically a bug -- it was a intentional design change that took place in 2.0.beta20. For a variety of reasons, it was decided that hyphens should not automatically capitalize any words that follow them, but should leave the case of such letters as-is. (See the PmWiki:ReleaseNotes for 2.0.beta20 for more details.)

The quick-fix is to simply rename any page files in wiki.d/ containing hyphens to reflect the new case that PmWiki is using for that page. Or, if you really want the old behavior, contact pmichaud [snail] pobox [period] com and I can provide a local customization that will capitalize letters following hyphens again.

--Pm