Search first
What Happened?
In a new block I typed [[Some Page]], attempting to refer to a page named Some Page which already existed. Instead, a new page with that name was created.
Reproduce the Bug
My guess is that if I have a page Some Page that doesn't appear in the search index, then attempting to reference [[Some Page]] can create a new page instead of referring to the existing one.
Perhaps there is another way to check whether a page with the given name exists, which could be checked before an attempted page reference creates a new page.
Expected Behavior
No response
Files
No response
Browser, Desktop or Mobile Platform Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.
Search first
What Happened?
In a new block I typed
[[Some Page]], attempting to refer to a page namedSome Pagewhich already existed. Instead, a new page with that name was created.Reproduce the Bug
My guess is that if I have a page
Some Pagethat doesn't appear in the search index, then attempting to reference[[Some Page]]can create a new page instead of referring to the existing one.Perhaps there is another way to check whether a page with the given name exists, which could be checked before an attempted page reference creates a new page.
Expected Behavior
No response
Files
No response
Browser, Desktop or Mobile Platform Information
No response
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.