samuelet / indexmenu

A dokuwiki plugin to show a customizable and sortable index for a namespace.
http://dokuwiki.org/plugin:indexmenu
GNU General Public License v2.0
45 stars 43 forks source link

Improve compatibility with Read the Dokus template #289

Closed eduardomozart closed 8 months ago

eduardomozart commented 8 months ago

Add data-wiki-id attribute that is used by DokuWiki "Read the Dokus" template to navigate between pages.

Klap-in commented 8 months ago

Did you test this also with the new js tree added recently? The old js tree is deprecated, so will be removed at certain point.. See e.g. https://github.com/samuelet/indexmenu/blob/3a7b8428e83941415ccba56f3019b0155a48e65e/script.js#L236 That new tree is built by js with data from ajax, so no idea whether it works together with what that template tries to achieve.

eduardomozart commented 8 months ago

I didn’t tested it yet, but I believe this not only benefits this template, but it’s a common behavior for inter wiki links (DokuWiki appends this attribute by default for inter wiki links).