diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-13 02:03:43 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-08-13 02:03:43 +0000 |
commit | 4b36dee35a55b08d6d6f3bb3840220a4956f2540 (patch) | |
tree | 4202c4fa32c2ec537e065072e45b4bb9344b1147 /t/linkify.t | |
parent | 85ecbc6c4ea3af0b39034d985d4ca4adb243d94f (diff) | |
download | ikiwiki-4b36dee35a55b08d6d6f3bb3840220a4956f2540.tar ikiwiki-4b36dee35a55b08d6d6f3bb3840220a4956f2540.tar.gz |
* The last release accidentially installed ikiwiki as ikiwiki.pl, now fixed.
* Add --version.
* Man page format fixups.
* Add a %pagecase which maps lower-case page names to the actual case
used in the filename. Use this in bestlinks calculation instead of
forcing the link to lowercase.
* Also use %pagecase in various other places that want to check if a page
with a given name exists.
* This means that links to pages with mixed case names will now work,
even if the link is in some other case mixture, and mixed case pages
should be fully supported throughout ikiwiki.
* Recommend rebuilding wikis on upgrade to this version.
Diffstat (limited to 't/linkify.t')
-rwxr-xr-x | t/linkify.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/linkify.t b/t/linkify.t index d1d02cd27..82f5f368b 100755 --- a/t/linkify.t +++ b/t/linkify.t @@ -12,9 +12,9 @@ sub linkify ($$$$) { # This is what linkify and htmllink need set right now to work. # This could change, if so, update it.. - %IkiWiki::links=(); + %IkiWiki::pagecase=(); foreach my $page (@existing_pages) { - $IkiWiki::links{$page}=[]; + $IkiWiki::pagecase{lc $page}=$page; $IkiWiki::renderedfiles{"$page.mdwn"}=$page; } %IkiWiki::config=IkiWiki::defaultconfig(); |