]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
use "U" term
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 03:56:45 +0000 (23:56 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 4 Jun 2008 03:56:45 +0000 (23:56 -0400)
this seems to be the thing to use for a unique id

IkiWiki/Plugin/search.pm

index dd44855bd067185f5fdbe9ecd2d380e45bed8cc2..679321ce55065e237a7102c0dc81bca3dc4f2a13 100644 (file)
@@ -147,7 +147,7 @@ sub pageterm ($) { #{{{
 
        # TODO: check if > 255 char page names overflow term
        # length; use sha1 if so?
-       return "P".$page;
+       return "U".$page;
 } #}}}
 
 my $db;