Fix broken "Edit this page" (custom_edit_url) (#2081)