X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/7633cc84745f59ed73fdcb55ffc8bbbff3eb70c7..8439d20684421388ddee7d7521e64b7257291996:/doc/bugs/edit_preview_resolves_links_differently_from_commit.mdwn diff --git a/doc/bugs/edit_preview_resolves_links_differently_from_commit.mdwn b/doc/bugs/edit_preview_resolves_links_differently_from_commit.mdwn index 1adb8d837..320eca626 100644 --- a/doc/bugs/edit_preview_resolves_links_differently_from_commit.mdwn +++ b/doc/bugs/edit_preview_resolves_links_differently_from_commit.mdwn @@ -1 +1,23 @@ -I'm editing /posts/foo. If I create a link to a subpage (in my case, "discussion"), and hit preview, it gets resolved to /discussion, not /posts/foo/discussion. If I hit commit, the latter happens. This seems like a bug. --liw +I'm editing /posts/foo. If I create a link to a subpage (in my case, +"discussion"), and hit preview, it gets resolved to /discussion, not +/posts/foo/discussion. If I hit commit, the latter happens. This seems like +a bug. --liw + +> That would be a bug, but I cannot reproduce it. For example, I edited +> and added a +> discussion link and on preview it went to the page's discussion page. I +> don't normally have a toplevel /discussion page, but I also tried adding +> one, and the link still doesn't link to it. Testcase? --[[Joey]] + +>> I can reproduce this on : +>> if I edit the page, then preview (no changes made), the "discussion" link at the bottom +>> of the page points in the preview +>> to , +>> whereas the saved page has it pointing to +>> . +>> I'll arrange so that you can edit the page to test this. +>> --liw + +>> Joey suggested my wiki might be missing the FORCEBASEURL snippet from the misc.tmpl +>> template, and he's right. Mea culpa: I had not diffed the various templates when upgrading +>> and had missed that updated. [[done]] --liw