]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Fix tags to page names that contain special characters.
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 4 Apr 2007 21:08:01 +0000 (21:08 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Wed, 4 Apr 2007 21:08:01 +0000 (21:08 +0000)
IkiWiki/Plugin/tag.pm
debian/changelog
doc/bugs/special_characters_in_tag_names_need_manual_escaping.mdwn
po/ikiwiki.pot

index 7ab27162228f5836f61ed8859dc389b1a3e6589d..733d76f4eb16bf888c680f6456f9a8711fd42fab 100644 (file)
@@ -43,6 +43,7 @@ sub preprocess (@) { #{{{
        delete $params{preview};
 
        foreach my $tag (keys %params) {
+               $tag=IkiWiki::linkpage($tag);
                $tags{$page}{$tag}=1;
                # hidden WikiLink
                push @{$links{$page}}, tagpage($tag);
index 0b8c28d1d97ae777fb4acdd02c1a7d82ee1b053e..461b791d32d243c2a0fbebda23d4b7c64bef0471 100644 (file)
@@ -22,8 +22,9 @@ ikiwiki (1.49) UNRELEASED; urgency=low
   * Make the OpenID library a reccommendation of the Debian package, rather
     than just a suggests, since OpenID is enabled by default.
   * Fix a bug that caused link(foo) to succeed if page foo did not exist.
+  * Fix tags to page names that contain special characters.
 
- -- Joey Hess <joeyh@debian.org>  Wed, 04 Apr 2007 16:55:36 -0400
+ -- Joey Hess <joeyh@debian.org>  Wed, 04 Apr 2007 17:06:59 -0400
 
 ikiwiki (1.48) unstable; urgency=low
 
index 20ddc2ce759cff5283d1315de09376b757153f3f..9f6ad8a9b3f2afb7274ff3321d0e5427c617fc60 100644 (file)
@@ -1 +1,3 @@
-Having read [[i18n_characters_in_post_title]], I have a page named `St John's` in a file named `St_John__39__s.mdwn`.  Regular wikilinks like `\\[[St_John's]]` successfully point to that page.  However, if I tag a page with `\[[tag St_John's]]`, that link is shown as pointing to a non-existant page.  Modify the tag to read `\[[tag St_John__39__s]]` works around the problem.
\ No newline at end of file
+Having read [[i18n_characters_in_post_title]], I have a page named `St John's` in a file named `St_John__39__s.mdwn`.  Regular wikilinks like `\\[[St_John's]]` successfully point to that page.  However, if I tag a page with `\[[tag St_John's]]`, that link is shown as pointing to a non-existant page.  Modify the tag to read `\[[tag St_John__39__s]]` works around the problem.
+
+[[done]] in 1.49 --[[Joey]]
index a68da073ca2e20467806981c7201e67164872cea..2fda7cd948b7ecc046e44c8365272445cbf84a79 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2007-04-02 14:54-0400\n"
+"POT-Creation-Date: 2007-04-04 17:06-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"