
|
[dokuwiki]
||
[Date Prev]
[09-2007 Date Index]
[Date Next]
||
[Thread Prev]
[09-2007 Thread Index]
[Thread Next]
[dokuwiki] Re: useheading question
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Tue, 11 Sep 2007 17:05:49 +0100
Jason Keltz wrote:
On 09/11/07 10:18, Jason Keltz wrote:
Hi Chris,
It seems that the problem with p_get_first_heading has come back to
bite me again. This time, if my main page refers to a document by
the link name, the link name is indeed replaced by the first heading
on the page. However, if I change the heading on the page, the
header name referring to the page does not get updated. I would have
expected it to re-cache the name when I saved the file. Is this a
bug? or a feature? :) I'm running 2007-08-23.
Actually, this may not be a bug. When I update the individual pages
with links, their heading name gets updated....
Jason.
You've lost me with all the headers and headings in your text.
The cache validation logic is supposed to be clever enough to detect
when the dependencies of a page have altered since the cache was created
and so invalidate the cache version. I don't recall whether or not
first headings changes (effectively metadata changes for the dependent
page) do in fact invalidate the cache. Off the top of my head they
should (when use_first_heading is in effect), assuming the resources
required aren't excessive.
If its not happening you may want to raise a bug/feature request.
-- Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|