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/plugins/creole | |
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/plugins/creole')
0 files changed, 0 insertions, 0 deletions