You will need to switch out:
doEdit with doEditContent
new Article with new WikiPage
Update. This workaround no longer works in the 1.39.x series.