]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* Fix a bug with inlined create page links, including Discussion links on
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 11 Mar 2007 04:59:03 +0000 (04:59 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sun, 11 Mar 2007 04:59:03 +0000 (04:59 +0000)
  blog post pages. The links will now create pages relative to the page that
  actually contains the link.

IkiWiki.pm
debian/changelog

index 29add5c34d49e6aa7b43f02b8325fadf2b59ae59..9e71cc153c4aaaad37328bb3eb74b947d2084ae8 100644 (file)
@@ -458,7 +458,7 @@ sub htmllink ($$$;@) { #{{{
                        cgiurl(
                                do => "create",
                                page => pagetitle(lc($link), 1),
                        cgiurl(
                                do => "create",
                                page => pagetitle(lc($link), 1),
-                               from => $page
+                               from => $lpage
                        ).
                        "\">?</a>$linktext</span>"
        }
                        ).
                        "\">?</a>$linktext</span>"
        }
index 73aa966fc0ccec77e097778bd2b7168b3b0e7fb0..956202f81c12a416f2ef0c78c2614d889a105554 100644 (file)
@@ -1,3 +1,11 @@
+ikiwiki (1.46) UNRELEASED; urgency=low
+
+  * Fix a bug with inlined create page links, including Discussion links on
+    blog post pages. The links will now create pages relative to the page that
+    actually contains the link.
+
+ -- Joey Hess <joeyh@debian.org>  Sat, 10 Mar 2007 23:56:23 -0500
+
 ikiwiki (1.45) unstable; urgency=low
 
   * Allow for underscores to appear in page titles, if encoded appropriately
 ikiwiki (1.45) unstable; urgency=low
 
   * Allow for underscores to appear in page titles, if encoded appropriately