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

collaborative links now prefer the title #271

Merged
merged 1 commit into from Feb 28, 2021
Merged

Conversation

dobbs
Copy link
Member

@dobbs dobbs commented Feb 27, 2021

Prior to this change, doInternalLink() would receive a title or a slug, convert it to a slug, and call showPage() with the slug. refresh.cycle() would be invoked which resolved the slug back into a title. That particular flow would fail for clicks on the graphviz plugin.

This change lets the original title be passed through to createPage for the cases when we already know the intended title, like the graphviz case.

Prior to this change, doInternalLink() would receive a title or a
slug, convert it to a slug, and call showPage() with the
slug. refresh.cycle() would be invoked which resolved the slug back
into a title. That particular flow would fail for clicks on the
graphviz plugin.

This change lets the original title be passed through to createPage
for the cases when we already know the intended title, like the
graphviz case.
@paul90 paul90 merged commit 9408f12 into fedwiki:master Feb 28, 2021
@paul90
Copy link
Member

paul90 commented Feb 28, 2021

Published as wiki-client@0.23.0

@dobbs dobbs deleted the prefer-titles branch December 22, 2021 23:01
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.

None yet

2 participants