zioth / dokuwiki-autotooltip

DokuWiki plugin to add styled tooltip functionality, and to automatically generate link tooltips based on page abstracts.
MIT License
5 stars 4 forks source link

Link destination filter #10

Open kii-chan-reloaded opened 4 years ago

kii-chan-reloaded commented 4 years ago

This is a little hack I did to make the renderer only render tooltips that point to specific destinations. As an example of why this functionality might be desired, I needed this so that only links to a page in my wiki's "dictionary" namespace would render a tooltip.

kii-chan-reloaded commented 4 years ago

Feel free to do as you like with it! I'm not overly familiar with PHP nor how the DokuWiki rendering system works, so I assumed what I had submitted wouldn't be the perfect solution. I had something that worked, though, so I figured I'd at least share the concept.

Thanks for all the work you've put into this plugin! It's very convenient!