[dokuwiki] Re: useheading question
- From: Jason Keltz <jas@xxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 17 Aug 2007 23:02:47 -0400 (EDT)
On Thu, 2 Aug 2007, Chris Smith wrote:
Jason Keltz wrote:
I'm not really worried about DokuWiki generating the metadata the first
time around for each of the sites because this won't happen too frequently,
but it looks like there is a bug where it isn't generating it the "first
time". If I was to copy the meta-data, but I want the files that I copy to
be the "first" revision, and no revision tracking before that, would I copy
just the files.meta from the meta directory?
How about the file.indexed? and the various files like _htcookiesalt, and
_dummy, _dokuwiki.changes, _comments.changes, etc.?
There is a bug, the breadcrumbs function hasn't been updated to match the
changes that went with the move from instructions to metadata. I'll send a
patch to Andi later. Meantime, if you're brave, you can update your own
installation by making the following change to the breadcrumbs() function in
inc/common.php
I have made the change against the latest dev version, which means the line
numbers below may not match those in your release.
Hi Chris,
I know we closed this issue back at the start of August, but I just wanted
to let you know that I realized today that I don't think it's 100%
resolved. If you are using the "use first heading" option, and the
hierarchical breadcrumbs, and you come to a brand new DokuWiki site that
doesn't yet have the data cached yet, and you visit a link other than
"start", then you will only see the proper heading information for the
link that you visit in the breadcrumb bar, while you will still see just
IDs for the namespaces leading up to your page. The breadcrumbs function
needs to load metadata for the whole path if it hasn't yet been loaded,
and not just the metadata for the current ID.
Is there any function that will tell me if the metadata has already been
cached for a particular ID? I have a sidebar that is generated before the
breadcrumb function is called, so I called p_use_first_heading with the
second option true which does work, but I'm not sure if this is the proper
way to do it.
Jason.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: useheading question
- From: Chris Smith
- References:
- [dokuwiki] useheading question
- From: Jason Keltz
- [dokuwiki] Re: useheading question
- From: Chris Smith
- [dokuwiki] Re: useheading question
- From: Jason Keltz
- [dokuwiki] Re: useheading question
- From: Chris Smith
Other related posts:
- » [dokuwiki] useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
- » [dokuwiki] Re: useheading question
Jason Keltz wrote:
I'm not really worried about DokuWiki generating the metadata the first time around for each of the sites because this won't happen too frequently, but it looks like there is a bug where it isn't generating it the "first time". If I was to copy the meta-data, but I want the files that I copy to be the "first" revision, and no revision tracking before that, would I copy just the files.meta from the meta directory? How about the file.indexed? and the various files like _htcookiesalt, and _dummy, _dokuwiki.changes, _comments.changes, etc.?
There is a bug, the breadcrumbs function hasn't been updated to match the changes that went with the move from instructions to metadata. I'll send a patch to Andi later. Meantime, if you're brave, you can update your own installation by making the following change to the breadcrumbs() function in inc/common.php
I have made the change against the latest dev version, which means the line numbers below may not match those in your release.
- [dokuwiki] Re: useheading question
- From: Chris Smith
- [dokuwiki] useheading question
- From: Jason Keltz
- [dokuwiki] Re: useheading question
- From: Chris Smith
- [dokuwiki] Re: useheading question
- From: Jason Keltz
- [dokuwiki] Re: useheading question
- From: Chris Smith