From: joey Date: Fri, 22 Dec 2006 10:15:30 +0000 (+0000) Subject: web commit by http://getopenid.com/ptecza: Bug report X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/ab97e763d984c6a09863d3740863cd89c36ed24c web commit by http://getopenid.com/ptecza: Bug report --- 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: + ./templates/inlinepage.tmpl:
  • + ./templates/page.tmpl: + ./templates/page.tmpl:

  • + ./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