[dokuwiki] Re: Citation plugin

On Thu, May 28, 2009 at 04:22, Andreas Gohr <andi@xxxxxxxxxxxxxx> wrote:
>> I'm interested in converting my current citation hack from the
>> monobook template into a plugin,
>
> I'm not familiar with that one. Can you explain what it does?

Sure, it looks like a Wikipedia citation page, more or less.

If you install the monobook template, in the toolbox area (bottom
left) I generate a link that adds the page revision plus a special URL
param "mbdo=cite" that if exists, is caught from within the template's
main.php, and instead of outputting tpl_content(), includes
do_cite.php from within the template folder.

There's a couple of configuration options-- source name, and author attribution.

I've attached two screenshots-- I'm not running monobook myself
currently, but you can install locally perhaps and see the output
yourself.

It needs a little cleanup (hasn't really been touched since 2007), but
I think it'd do better as a plugin.
-- 
--Terence J. Grant

Attachment: Picture 2.png
Description: PNG image

Attachment: Picture 3.png
Description: PNG image

Other related posts: