* Fix tags to page names that contain special characters.
parent
83618add81
commit
d25e91e127
|
@ -43,6 +43,7 @@ sub preprocess (@) { #{{{
|
||||||
delete $params{preview};
|
delete $params{preview};
|
||||||
|
|
||||||
foreach my $tag (keys %params) {
|
foreach my $tag (keys %params) {
|
||||||
|
$tag=IkiWiki::linkpage($tag);
|
||||||
$tags{$page}{$tag}=1;
|
$tags{$page}{$tag}=1;
|
||||||
# hidden WikiLink
|
# hidden WikiLink
|
||||||
push @{$links{$page}}, tagpage($tag);
|
push @{$links{$page}}, tagpage($tag);
|
||||||
|
|
|
@ -22,8 +22,9 @@ ikiwiki (1.49) UNRELEASED; urgency=low
|
||||||
* Make the OpenID library a reccommendation of the Debian package, rather
|
* Make the OpenID library a reccommendation of the Debian package, rather
|
||||||
than just a suggests, since OpenID is enabled by default.
|
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 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
|
ikiwiki (1.48) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -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.
|
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]]
|
||||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \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"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
Loading…
Reference in New Issue