To account for editors that don't open a new page, simulate a click instead of using window.location directly.
That way editors such as VisualEditor will get the edit event and initiate the editor.
VisualEditor works without this as it updates the ca-edit url with ?veaction=edit, so it'll work. But still, going through a useless reload is... useless.
Version: unspecified
Severity: enhancement