When I add a link in a Widget, I get the standard Insert/edit link dialog with a Search field.
If I enter the Page in the Search field and then link to this page using the "Or link to existing content" it generates an absolute URL.
The problem with this is that if you then end up changing the URL to the Page (e.g. if you change its Parent Page) then the URL changes and we get a 404.
Any suggestions on how you can link to the Page so that you don't get broken links?
What I'm looking for ideally is something like a link_to_page()
function.