Currently, the new wikitext editor converts URLs into inner link format (if it is supported) if you previously selected some text. I think simply inserting the URL should behave the same.
I just tested this, and linking a word to https://www.wikidata.org/wiki/User:Pasleim/Items%20for%20deletion/Page%20deleted, creates
[[wikidata:User:Pasleim/Items for deletion/Page deleted|Foo]]
which seems correct to me
@Esanders Yes, it is correct. My problem is that simply inserting the link does not work like this. For example:
Select text and copy the link:
[[wikidata:User:Pasleim/Items for deletion/Page deleted|text]]
Just copy the link:
Thanks, I see what you mean. So this is the same behaviour as in VE. The reason for it is that at the time of pasting we don't know that the external link is actually internal (that calculation is done by Parsoid) so we don't know what label to give the link. In most cases users won't create a link without a label, so I don't think this is particularly high priority.