Didn't convert the local task yet, because I think we should wait for #2050919: Replace local task plugin discovery with YamlDiscovery.
See also #1971384: [META] Convert page callbacks to controllers
The last submitted patch, user-edit-route.patch, failed testing.
Dupe of #1987692: Convert all references to entity_get_form() as page callbacks to _entity_form w/ corresponding routing.yml entries
Drupal is a registered trademark of Dries Buytaert.