DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:pageannotate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:pageannotate [2010-10-28 16:15]
195.222.9.197 omit foul language ;)
tips:pageannotate [2016-02-23 12:30] (current)
89.67.9.85 git refuses empty author field
Line 64: Line 64:
         list($rev, $host, $act, $pagename, $author)= explode("\t", $line);         list($rev, $host, $act, $pagename, $author)= explode("\t", $line);
         echo "rev[$rev]; host[$host]; act[$act]; pagename[$pagename]; author[$author]\n";         echo "rev[$rev]; host[$host]; act[$act]; pagename[$pagename]; author[$author]\n";
 +
 +        if ($author == '')
 +                $author = 'UNKNOWN';
  
         // hack to skip git looking up author names         // hack to skip git looking up author names
tips/pageannotate.txt ยท Last modified: 2016-02-23 12:30 by 89.67.9.85