Restore a deleted page with every revision (Special:Undelete), as an administrator, with a reason.
Examples
When I restore the page "Deletion test page" with the reason "Deleted by mistake"
When we restore the page "Second test page" with the reason "Needed again"
And I restore the page "Deletion test page" with the reason "A test of the restore"
When I restore the page "Talk:Deletion test page" with the reason "A test"
When we restore the page "Deletion test page" with the reason "Back"
Pattern
When(/^(I |we )*restore the page "([^"]*)" with the reason "([^"]*)"$/, …)
Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.