[dokuwiki] question on meta data and feature request for enabling disabled functionality for admins

  • From: Jason Keltz <jas@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 18 Sep 2007 14:40:38 -0400

Hi.

I have one question, and one feature request.

First, is there anywhere on the DokuWiki site where I can find information on exactly how to understand all the codes in the *.meta files in the data/meta directory of my DW installation? I'd like to understand how the revisions are stored.

Second is pretty much a feature request -- I would like to be able to disable the "revision history" and "recent changes" buttons on a DW site, yet still maintain those buttons for the admin user. That is, the user cannot look at the revision history of documents, or recent changes, but the site maintainer can see it all. I think that most templates use tpl_actionlink in order to display the buttons, but tpl_actionlink first checks if "actionOK". If the features are "disabled", then actionOK returns false, and the button is not printed. This means that it's not up to the template whether the buttons get printed or not. Either tpl_actionlink should leave it up to the template to check the status of actionOK (which provides more flexibility, but more difficulty for template maintainers), or, DW could provide another config option that, by default, enables disabled functionality for admins. Does this make any sense? It certainly sounds like something that could be useful to other people.

Jason.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: