This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
FS#2139 useheading missing from revisions
With $conf['useheading'] set to 1, the first headings are shown in the Recent Changes, but not in the Old Revisions. They should behave the same.
I guess, it is missing from the old revisions. (Or is it the other way around and they shouldn't show in the recent changes?)
The problem is that there is no metadata for old revisions so we could only show the title for the current revision. Parsing and rendering all pages in order to extract the first heading doesn't work because it takes too much time and would again break a lot of things because there are now many plugins that assume metadata is never rendered for old revisions (which is currently the case, all metadata function only work for the current revisions, there is no way to get metadata for old revisions).
I think we would need to store the first heading of old pages in some log file or in the metadata. In the metadata it would make the metadata bigger and bigger when the history gets longer so I don't think storing old headings in the metadata is a good idea. Storing them in a log file means that we either need to change the format of the existing log files or add a new one just for headings. I'm not sure if this is worth the effort.
Ah, okay. What about displaying the title for the current revision for *all* revisions? Even if the title was a different one once, I don't think anyone would care, would they?
Another option would be to only show the page id in the recent changes as well (to at least make them consistent)!?
I’d go with showing ID in recent changes.
I think showing the current title is sensible. Its an old revision for a page with the current title.
I vote for showing the current title. Not showing the title in the recent changes imho doesn't make sense because the recent changes link to the current versions.
I slightly tend to only show the page id in both ... At least we are talking of links within a "meta context" and not within a proper text ...
I don't care much for any of these options, but I think people using the useheading option are quite fond of it and like to see as few raw IDs as possible. So I'd say let's go with the current heading in revisions.
Fixed in 90658f38 - instead of the id the first heading is displayed when useheading is set for navigation.