aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-22 10:15:30 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-12-22 10:15:30 +0000
commitab97e763d984c6a09863d3740863cd89c36ed24c (patch)
treeeba6a1d7da44b8fa0b99e5333cc16ac62e4fdeeb /doc/bugs
parent2476447a5b10843670287e0896871f68c3b9d1c6 (diff)
downloadikiwiki-ab97e763d984c6a09863d3740863cd89c36ed24c.tar
ikiwiki-ab97e763d984c6a09863d3740863cd89c36ed24c.tar.gz
web commit by http://getopenid.com/ptecza: Bug report
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/hardcoded___34__Discussion__34___link.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/hardcoded___34__Discussion__34___link.mdwn b/doc/bugs/hardcoded___34__Discussion__34___link.mdwn
new file mode 100644
index 000000000..cceae8efb
--- /dev/null
+++ b/doc/bugs/hardcoded___34__Discussion__34___link.mdwn
@@ -0,0 +1,17 @@
+I can't translate "Discussion" link in `templates/inlinepage.tmpl`
+and `templates/page.tmpl` files, because it's hardcoded in
+ikiwiki sources:
+
+ ptecza@horus:~/svn/ikiwiki$ rgrep -i DISCUSSIONLINK . |grep -v '.svn'
+ ./templates/inlinepage.tmpl:<TMPL_IF NAME="DISCUSSIONLINK">
+ ./templates/inlinepage.tmpl:<li><TMPL_VAR DISCUSSIONLINK></li>
+ ./templates/page.tmpl:<TMPL_IF NAME="DISCUSSIONLINK">
+ ./templates/page.tmpl:<li><TMPL_VAR DISCUSSIONLINK><br /></li>
+ ./IkiWiki/Plugin/inline.pm: $template->param(discussionlink => htmllink($page, $params{page}, "Discussion", 1, 1));
+ ./IkiWiki/Render.pm: $template->param(discussionlink => htmllink($page, $page, "Discussion", 1, 1));
+
+I hope it's a bug, not a feature, because I don't have the same
+problem with other links, for example "Edit", "RecentChanges"
+or "History".
+
+--Pawel \ No newline at end of file