diff options
author | intrigeri <intrigeri@boum.org> | 2008-12-31 22:27:12 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-01 01:08:10 +0100 |
commit | 85f865b5d98e0122934d11e3f3eb6703e4f4c620 (patch) | |
tree | f0d408b3facc58cfb295fea2057db9a070d88fd8 /doc | |
parent | bbeb9a4a1462ef17cfc1faeaf3bb73eb6384bdab (diff) |
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 <intrigeri@boum.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/po.mdwn | 4 |
1 files changed, 0 insertions, 4 deletions
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 ------------ |