projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea47557
)
First of several required additions of 'go=' to wiki links
author
Art Cancro
<ajc@uncensored.citadel.org>
Mon, 23 Apr 2012 22:41:53 +0000
(18:41 -0400)
committer
Art Cancro
<ajc@uncensored.citadel.org>
Mon, 23 Apr 2012 22:41:53 +0000
(18:41 -0400)
webcit/wiki.c
patch
|
blob
|
history
diff --git
a/webcit/wiki.c
b/webcit/wiki.c
index ff3e4362342ba77bf1407601ba44418b495441ac..c72dbf656a726508f00c3f87d0b3893b1d33933e 100644
(file)
--- a/
webcit/wiki.c
+++ b/
webcit/wiki.c
@@
-163,10
+163,9
@@
void tmplput_display_wiki_history(StrBuf *Target, WCTemplputParams *TP)
wc_printf("</td>");
if (row == 0) {
- wc_printf("<td><a href=\"wiki?page=%s\">%s</a></td>",
- bstr("page"),
- _("(show)")
- );
+ wc_printf("<td><a href=\"wiki?page=%s", bstr("page"));
+ wc_printf("?go="); urlescputs(ChrPtr(WC->CurRoom.name));
+ wc_printf("\">%s</a></td>", _("(show)"));
wc_printf("<td>(%s)</td>", _("Current version"));
}