]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/po.mdwn
doc/po(self-links): follow-ups
[ikiwiki.git] / doc / plugins / po.mdwn
index 1d343e0f81b642783af498fbadcdecf73025a5a2..673bbf406e244faa562b57eb28f55f0774a49633 100644 (file)
@@ -265,9 +265,20 @@ good reason for that to be done? --[[Joey]]
 > The commit 0113c69d4fb in my po branch might fix this. --[[intrigeri]]
 
 >> It may fix it in passing, but shouldn't it also be fixed for the other
->> `po_link_to` styles? (Also, if `mybestlink` is going to always 
->> just return `bestlink` in this case, there seems no reason to inject
->> it.) --[[Joey]]
+>> `po_link_to` styles?
+
+>>> Other `po_link_to` styles already work ok: say there is
+>>> a \[[dest]] link on a page called `dest`. When rendering
+>>> `dest.LL`, `mybestlink` returns `dest.LL`, and `htmllink` is then
+>>> able to detect, and manage correctly, that it is a self-link.
+>>> --[[intrigeri]]
+
+>> (Also, if `mybestlink` is going to always just return `bestlink` in
+>> this case, there seems no reason to inject it.) --[[Joey]]
+
+>>> Right. Commit cdc3576c8d1efb2 in my po branch prevents
+>>> `mybestlink` to be injected when `po_link_to` is
+>>> `default`. --[[intrigeri]]
 
 Language display order
 ----------------------