The 'add wikilink' dialog box automatically searches for local articles with the same name as the selected or typed text, but some sister projects such as Commons would prefer to link to Wikipedia where a local link does not exist....
Please make VisualEditor follow a specified configurable algorithm (e.g. look for a local Category page with this name, then look for a certain sister wiki page with this name) when a local page does not exist.