Fix edit link when VisualEditor is not available

Bug: 65529
Change-Id: Ie1a853b634fe3ecc7e71e54a967e4b4795126f85
(cherry picked from commit 33a234d72152f79aec9f6695c1a4f624d001fc11)