The linkback plugin adds Trackback and Pingback support to DokuWiki.