Add option $wgLinkTitlesIgnoreCase to enable case-sensitive linking of page titles.