projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32a8bf4
)
beautify url recentchanges_link redirs to
author
Joey Hess
<joey@kodama.kitenet.net>
Fri, 11 Jul 2008 13:44:47 +0000
(09:44 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Fri, 11 Jul 2008 13:44:47 +0000
(09:44 -0400)
This ensures that the same link is reached as is used on pages,
so browsers will know that the link on pages has been visited, and color it
appropriately.
IkiWiki/Plugin/recentchanges.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/recentchanges.pm
b/IkiWiki/Plugin/recentchanges.pm
index f4f9ca348d84a569e866a3cfd33837a24d664a0c..bc069fbf258eb8669b01c0b930e8cb8cb0fdbb70 100644
(file)
--- a/
IkiWiki/Plugin/recentchanges.pm
+++ b/
IkiWiki/Plugin/recentchanges.pm
@@
-80,7
+80,7
@@
sub cgi ($) { #{{{
"</p>");
}
else {
- IkiWiki::redirect($cgi, $config{url}.
"/".htmlpage($link
));
+ IkiWiki::redirect($cgi, $config{url}.
IkiWiki::beautify_url("/".htmlpage($link)
));
}
exit;