If we were talking about some perl stuff, the answer should surely be
something like:
    http://perlmonks.org/?node_id=243874
but I doubt it would be really different here...
BTW, Looking under the hood is always a very rewarding experience. You
should have a try with PmWiki itself or some cookbook recipes.
Regards,
Dom