Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve compatibility with Read the Dokus template #289

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

eduardomozart
Copy link
Contributor

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

Add data-wiki-id attribute that is used by DokuWiki "Read the Dokus" template to navigate between pages.
@Klap-in
Copy link
Collaborator

Klap-in commented Jan 30, 2024

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.

data.$title.html("<a href='" + node.data.url + "'"+cls+">" + node.title + "</a>");

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
Copy link
Contributor Author

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).

@Klap-in Klap-in merged commit d5a8614 into samuelet:master Feb 1, 2024
2 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants