implement dokuwiki hooks