aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-29 16:38:32 -0400
committerJoey Hess <joey@kitenet.net>2011-06-29 16:38:32 -0400
commit25b01f94045eaa262587fcd18e8525eed9c18157 (patch)
treef63e437973ee35aebd9f511c8e18c80ace9d8d4f /IkiWiki.pm
parent9bae303ec42aaa7e6c1297505d296ebada185423 (diff)
downloadikiwiki-25b01f94045eaa262587fcd18e8525eed9c18157.tar
ikiwiki-25b01f94045eaa262587fcd18e8525eed9c18157.tar.gz
Preserve mixed case in page creation links, and when creating a page whose title is mixed case, allow selecting between the mixed case and all lower-case names.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7035cb034..8a66dcedb 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1237,7 +1237,7 @@ sub htmllink ($$$;@) {
$cgilink = "<a href=\"".
cgiurl(
do => "create",
- page => lc($link),
+ page => $link,
from => $lpage
)."\" rel=\"nofollow\">?</a>";
}