From 85f865b5d98e0122934d11e3f3eb6703e4f4c620 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Wed, 31 Dec 2008 22:27:12 +0100 Subject: po: added postscan hook, to make pages depend on the pages linking to them ... so that nicepagetitle hook's effects, such as translation status displayed in links, are updated when the linked page changes. The replacement of 'my %backlinks' with 'our %backlinks' in Render.pm made this work: previously, every postscan hook was called with an almost empty %backlinks, which defeated all my attempts to implement this feature. This feature hits performance a bit. Its cost was quite small in my real-world use-cases (a few percents bigger refresh time), but could be bigger in worst cases. Time will tell. NB: this hack could also be used by my meta branch. It may even be a ikiwiki optional feature. Signed-off-by: intrigeri --- doc/plugins/po.mdwn | 4 ---- 1 file changed, 4 deletions(-) (limited to 'doc/plugins/po.mdwn') diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn index 4ce8ad7d9..7d8da987e 100644 --- a/doc/plugins/po.mdwn +++ b/doc/plugins/po.mdwn @@ -511,10 +511,6 @@ intrigeri's `meta` branch, the generated links' text is based on the page titles set with the [[meta|plugins/meta]] plugin. This has to be merged upstream, though. -### Backlinks - -They are not updated when the source page changes (e.g. meta title). - Page formats ------------ -- cgit v1.2.3