[dokuwiki] Re: Disable DokuWiki actions

  • From: "Terence J. Grant" <tjgrant@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 13 Jul 2006 12:54:42 -0400

When I installed the monobook template I see Old Revisions and Show
Source on just about all pages.

This is because I do all of the "button logic" myself from within the template based on the "context of the page", see context.php in the monobook archive. I do this to get that mediawiki "look and feel."

Also, I have noticed that templates do not utilize the Discussion
"feature" the same; for example MonoBook uses a talk:start format and
ACH uses a discussion:start format; my vote is for discussion:start --
but thats debateable.

"discussion" is also a bigger word than "talk", and if you view wikipedia, you'll see they use the "talk" namespace, which are the two reasons why I've chosen that as default.

Regardless of that though, its changeable in monobook through
$monobook['discussion-location'] = "path";

Discussions are not part of DokuWiki itself, it is supported via the
template, some fairly simple logic, and some simple ACL. I described
it in an earlier email to the list, you can search the archives for
this one if you're really curious.

I imagine it could be pulled out and exported as a plugin for general
use, though you would still have to have additional code added to your
template to make sure to call it properly for the buttons/links to
access it.

Overall the enhancements and changes have been great =)  and I don't
mind the few small bugs -- ultimately I'm going to pick a single
template and stick with it -- so far the ACH model is winning  =)

:-O

--
--Terence J. Grant(tjgrant@xxxxxxxxxxxx)
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: