The ?updated needs to come before the #anchor or browsers will not follow
the anchor.
# Jump to the new comment on the page.
# The trailing question mark tries to avoid broken
# caches and get the most recent version of the page.
- IkiWiki::redirect($cgi, urlto($page, undef, 1)."#$location?updated");
+ IkiWiki::redirect($cgi, urlto($page, undef, 1)."?updated#$location");
}
else {
* table: Fix misparsed links in external files.
* table: Find links in external files in scan pass.
* rename: Show full names of affected pages.
+ * comments: Fix cache avoidance hack.
-- Joey Hess <joeyh@debian.org> Tue, 06 Jan 2009 15:02:52 -0500