Steps to reproduce:
- Edit a page in VE in a namespace with subpages (e.g. User:Foo), that has a subpage (e.g. User:Foo/foo).
- Open the link dialog.
- Enter "/f".
Expected: The subpage is shown as suggestion.
Actual: The suggestions come from main namespace.
- Enter "/foo" completely yourself, insert the link.
- Review your changes.
Expected: The wikitext inserted is [[/foo]].
Actual: The wikitext is [/foo /foo], which won't even create a link.