aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/po_vs_templates.mdwn
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-06-25 19:32:29 +0200
committerintrigeri <intrigeri@boum.org>2010-06-25 19:32:29 +0200
commit47d1b3eac57f1b38bb7528fdc039a91680bc33a4 (patch)
tree64253b74e9ff31195814c0b77a95c2219062da0c /doc/bugs/po_vs_templates.mdwn
parent71950b2ae5ff6fd3b631c5504455cc07699b1c11 (diff)
downloadikiwiki-47d1b3eac57f1b38bb7528fdc039a91680bc33a4.tar
ikiwiki-47d1b3eac57f1b38bb7528fdc039a91680bc33a4.tar.gz
new bug report, patch provided
Diffstat (limited to 'doc/bugs/po_vs_templates.mdwn')
-rw-r--r--doc/bugs/po_vs_templates.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/bugs/po_vs_templates.mdwn b/doc/bugs/po_vs_templates.mdwn
new file mode 100644
index 000000000..a0ccc5f53
--- /dev/null
+++ b/doc/bugs/po_vs_templates.mdwn
@@ -0,0 +1,17 @@
+The po plugin's protection against processing loops (i.e. the
+alreadyfiltered stuff) is playing against us: the template plugin
+triggers a filter hooks run with the very same ($page, $destpage)
+arguments pair that is used to identify an already filtered page.
+
+Processing an included template can then mark the whole translation
+page as already filtered, which prevented `po_to_markup` to be called on
+the PO content.
+
+Symptoms: the unprocessed gettext file goes unfiltered to the
+generated HTML.
+
+This has been fixed in my po branch.
+
+-- [[intrigeri]]
+
+[[!tag patch]]