DokuWiki doesn’t have native support for widget like WordPress or any other CMS, but with some built in functions in DokuWiki, it’s quite easy to create a widget-enabled template for it. The finest example is the template used by TechRecipes itself, where it has dynamic widget on the sidebar and after the wiki content.

TechRecipes widget enabled template is available for download here