It's better when it's simple

User Tools

Site Tools


Table of Contents

Signature Plugin

Compatible with DokuWiki

No compatibility info given!

plugin signatures for unregistered users

Last updated on

The missing download url means that this extension cannot be installed via the Extension Manager. Please see Publishing a Plugin on Recommended are public repository hosts like GitHub, GitLab or Bitbucket.

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with signature, users

By Dmitry


Author is Dmitry (
I just posted this plugin to the public — Bukhalenkov Alexander 2007-06-26 15:08


It can be simply modified to fit many purposes - it's just a substitute plugin,
which substitutes “{{user>username}}” to (in this modification) “ --- **//[[p:username]]//**” (in our wiki it links on personal pages)

In another words, this plugin is mechanism for adding signatures for unregistered wiki users.


It consist just one file: syntax.php:

if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
class syntax_plugin_signature extends DokuWiki_Syntax_Plugin {
    function getInfo(){
        return array(
            'author' => 'dmit10',
            'email'  => '',
            'date'   => '29/03/2006',
            'name'   => 'Signature Plugin',
            'desc'   => 'Add the possibility to put down a signature',
            'url'    => '???',
    function getType(){
        return 'substition';
    function getSort(){
        return 250;
    function connectTo($mode) {
    function handle($match, $state, $pos, &$handler){
        //  {{user>username}}    
        //  ^^^^^^^^      
        //  01234567     
        $match = substr($match,7,-2);
        //Maybe it is useful to add here current date
        return array($match);
    function render($mode, &$renderer, $data) {
        $renderer->doc.="&mdash; "; //this string depends on the HTML that is not good =)
        return true;
plugin/signature.txt · Last modified: 2014-03-20 18:23 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki